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

From: Date: Mon, 27 Dec 2004 16:50:15 +0000
Subject: RE: [PHP] How to set an absolute include path?
Groups: php.general 
Request: Send a blank email to php-general+get-205209@lists.php.net to get a copy of this message
[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 work no matter from which level it's called. Thanks... [/snip] Just define one, using http://www.php.net/define

« previous php.general (#205209) next »