Re: crontab, PHP and MACOSX

From: Date: Thu, 29 Mar 2007 00:08:47 +0000
Subject: Re: crontab, PHP and MACOSX
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-251589@lists.php.net to get a copy of this message
There is a lot of require_once(' ') in the script and if i am not in the correct folder the script won't work.
That is something php related ;) Change your require to something like this: require(dirname(__FILE__) . '/other_file_name.php'); -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#251589) next »