Reply to CURL

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация