Re: [PHP] About File Paths [unresolved]

2004-10-29 Thread Nick Wilson
* and then Matthew Sims declared 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

Re: [PHP] About File Paths [unresolved]

2004-10-28 Thread Nick Wilson
* 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

Re: [PHP] About File Paths [unresolved]

2004-10-28 Thread Matthew Sims
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