Re: [PHP] How to set an absolute include path?

2004-12-27 Thread John Nichel
Brian Dunning wrote: Is there a command that will set the include path to the web server root? I'm trying to set up a directory structure where include files will be called from all different folder depths, so I'll need to call them absolutely like: include('/includes/file.php'); where the abo

RE: [PHP] How to set an absolute include path?

2004-12-27 Thread Jay Blanchard
[snip] Is there a command that will set the include path to the web server root? I'm trying to set up a directory structure where include files will be called from all different folder depths, so I'll need to call them absolutely like: include('/includes/file.php'); where the above will wo

[PHP] How to set an absolute include path?

2004-12-27 Thread Brian Dunning
Is there a command that will set the include path to the web server root? I'm trying to set up a directory structure where include files will be called from all different folder depths, so I'll need to call them absolutely like: include('/includes/file.php'); where the above will work no mat

Re: [PHP] How to set an absolute include path?

2004-12-27 Thread John Holmes
Brian Dunning wrote: Is there a command that will set the include path to the web server root? I'm trying to set up a directory structure where include files will be called from all different folder depths, so I'll need to call them absolutely like: include('/includes/file.php'); where the abo

Re: [PHP] How to set an absolute include path?

2004-12-27 Thread Jordi Canals
On Mon, 27 Dec 2004 08:27:25 -0800, Brian Dunning <[EMAIL PROTECTED]> wrote: > Is there a command that will set the include path to the web server > root? set_include_path($_SERVER['DOCUMENT_ROOT']; > I'm trying to set up a directory structure where include files will be > called from all diffe