[PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Richard Lynch
>PS. I cannot compile as a binary etc. This configuration is the confi of the >shared server I am using which is hosted by a third part. > >Henry > > Get them to do the exact same command, without the apxs part, and put the resulting php binary in /usr/bin or somewhere handy... They *PROBABLY* a

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
I'm having to learning new languages faster than I'm having hot dinners. When I say learn I don't mean become some sort of guru, just enough to get by. If I wanted to do it in perl (and I know this isn't the right newsgroup, but please excuse me), how would I access a mysql server? Besides that,

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Erik Price
On Tuesday, July 2, 2002, at 01:00 PM, Henry wrote: > Only one concern. Are there any security issues. > And I suppose more > importantly, if there are; is there a way to get the php-script to > ensure > that is is being invoked by my cron deamon. Should I put the page in a > directory and use

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Chris Hewitt
Henry, lynx --dump http://www.domain.com/myfile.php "man lynx" for details. You can run it from cron. HTH Chris Henry wrote: >PS. I cannot compile as a binary etc. This configuration is the confi of the >shared server I am using which is hosted by a third part. > >Henry > > > -- PHP Genera

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
Thanks, Only one concern. Are there any security issues. And I suppose more importantly, if there are; is there a way to get the php-script to ensure that is is being invoked by my cron deamon. Should I put the page in a directory and use .htaccess to control security. Or can I check the referrer

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Erik Price
On Tuesday, July 2, 2002, at 12:25 PM, Henry wrote: > PS. I cannot compile as a binary etc. This configuration is the confi > of the > shared server I am using which is hosted by a third part. If your PHP is not compiled as a CGI interpreter, then you can't do commandline PHP commands. But

Re: [PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 00:25, Henry wrote: > PS. I cannot compile as a binary etc. This configuration is the confi of > the shared server I am using which is hosted by a third part. This has been covered many times in the past as a quick search of the archives would reveal. If you don't have

[PHP] Re: Executing a php script periodically using crond

2002-07-02 Thread Henry
PS. I cannot compile as a binary etc. This configuration is the confi of the shared server I am using which is hosted by a third part. Henry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php