Use this to forward the posted variables to another php page after using them
// forwarding variables to the site
$ch = curl_init();
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
// Optionally set a timeout
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_URL, 'http://site-link.com/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "url=index%3Dbooks&field-keywords=CURL");
$output = curl_exec($ch);
curl_close($ch);
print $output;
Set as favorite
Bookmark
Email This
Hits: 1136
Comments (0)










