|
Posted by Brian on 07/08/07 23:53
Hi
I think I have got this right but need to check as I have now got really
confused.
I am trying to call a PHP script on a different server to mine, I do not
need
any data returned but do need to know that the script was run..
I'm going to set up a CRON on my server to call my script everyday.
My script would use CURL to call the scripts on the other server, I
have read up on CURL and it the CURLOPT_XXX option I am lost on
as all I want to know id the script of the other server did run. What
options
should I be using?
$c = curl_init('http://other_server.com/other_script.php');
curl_setopt($c, XXXX, 1);
$http_return = curl_exec($c);
curl_close($c);
Brian
Navigation:
[Reply to this message]
|