Re: [PHP] Scheduling a PHP script

2004-06-16 Thread Jason Wong
On Monday 14 June 2004 22:21, Phil Ewington - 43 Plc wrote: Is your commandline php executable compiled --with-mysql ? My PHP installation (4.3.6) was configured with: with-mysql=shared Does /path/to/php -i | less confirm this? -- Jason Wong - Gremlins Associates - www.gremlins.biz

[PHP] Scheduling a PHP script

2004-06-14 Thread Phil Ewington - 43 Plc
Hi All, I have a PHP script that I need to call from both web browsers from a crontab but whichever route I choose I hit a problem. Here are the options I have tried along with problems encountered... PHP - /usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3 After

Re: [PHP] Scheduling a PHP script

2004-06-14 Thread Dennis Freise
On Mon, 14 Jun 2004 12:10:30 +0100 Phil Ewington - 43 Plc [EMAIL PROTECTED] wrote: PHP - /usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3 After resolving include path issues using ini_set() I get... Call to undefined function: mysql_connect(). I assume that all

RE: [PHP] Scheduling a PHP script

2004-06-14 Thread Phil Ewington - 43 Plc
On Mon, 14 Jun 2004 12:10:30 +0100 Phil Ewington - 43 Plc [EMAIL PROTECTED] wrote: PHP - /usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3 After resolving include path issues using ini_set() I get... Call to undefined function: mysql_connect(). I