Re: RE: nested includes

From: Date: Thu, 03 Jan 2002 14:30:49 +0000
Subject: Re: RE: nested includes
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-79318@lists.php.net to get a copy of this message
> This can be solved partly with include_path setting in php.in or in > apache's config files (even in .htaccess). You can just set > include_path to your project's (or application's) root directory, and > make all the paths relative to this directory in include() and > require(). Or if you intend to distribute the application and don't want to bother users with changing php.ini you could have a "main" include which defines a global absolute path and use that (i.e. include("$proj_location/whatever.php") ) Bogdan

« previous php.general (#79318) next »