Galera,
I have a PHP page and now I need to call another PHP page by passing the parameters I have collected from my DB.
How can I do this?
I've tried this, but it was not!
$qry_str = "id=".$id_mensagem;
$ch = curl_init();
// Set query data here with the URL
curl_setopt($ch, CURLOPT_URL, '/postar_reenvio.php?' . $qry_str);
//$url = "http://www.google.com/search?q=".$strSearch."&hl=en&start=0&sa=N";
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 3);
$content = trim(curl_exec($ch));
print_r($content);
curl_close($ch);