Re: About File Paths
| From: | Nick Wilson | Date: | Thu, 28 Oct 2004 17:11:23 +0000 |
| Subject: | Re: About File Paths | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200560@lists.php.net to get a copy of this message | ||
* and then Greg Donald declared....
> On Thu, 28 Oct 2004 18:27:34 +0200, Nick Wilson <nick@stylesheet.org> wrote:
> > If a script is to be called with cron *outside* of the http directory,
> > how should file system paths be handled?
>
> I always assume cron is dumb and provide it with full paths.
Absolutely, but I dont mean cron, i mean the php code in the script.
When referencing (including/requireing/fopen/etc) files..
--
Nick W