> 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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to