Reply to Re: CURL

Your name:

Reply:


Posted by Sebastiaan 'CrashandDie' Lauwers on 07/09/07 00:55

Brian wrote:
> Hi

Hi,

> 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?

There isn't any option to know if a "script has run" or not. The only
easy way, would be to simply get the script to return (or in this case,
echo) "0" and "1", or whatever symbol would go for you. Then just
compare what you retrieved with cURL, and thus see if the script
executed all right...

HTH,

S.

[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

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