Re: About File Paths [unresolved]
| From: | Nick Wilson | Date: | Thu, 28 Oct 2004 19:58:33 +0000 |
| Subject: | Re: About File Paths [unresolved] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200574@lists.php.net to get a copy of this message | ||
* and then Nick Wilson declared....
***bumpety bump*** ;-)
> If a script is to be called with cron *outside* of the http directory,
> how should file system paths be handled?
>
> Should I use
>
> fopen('a_path/relative_to/thescript.php');
>
> or
>
> fopen('/usr/var/www/absolute_file_path/thescript.php');
>
> Im not only using this for fopen. So does php work relative to the
> script being called or not?
>
> Much thanks...
> --
> Nick W
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Nick W