Re: where php at?

From: Date: Tue, 28 Mar 2006 01:45:15 +0000
Subject: Re: where php at?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-232693@lists.php.net to get a copy of this message
tedd wrote:
At 11:26 PM +0200 3/27/06, Ryan A wrote:
Ooops, and lets not forget this one: curl http://www.yoursite.com/path/to/script/yourscript.php you can put that in your cron job by going to cpanel.... its a long way round but sometimes it can be useful....you should have CURL installed of course. The good thing about the above is it does not matter where the heck your php is installed or if you have the "shebang" or not... HTH again. Cheers, Ryan
Thanks Ryan, but that failed to work as well.
Are you getting errors emailed to you? What are they? If you're not, make sure you set the email address appropriately and then let us know what errors you get. If you use the "shebang" method: #!/path/to/php make sure you set the file to executable - it should be 755. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#232693) next »