Re: where php at?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux