Re: Setting include path to same directory as .php file.?

From: Date: Thu, 23 Nov 2000 03:46:31 +0000
Subject: Re: Setting include path to same directory as .php file.?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26785@lists.php.net to get a copy of this message
Previously, Lawrence.Sheed@dfait-maeci.gc.ca said: > You may want to use a fixed (absolute) path from your web root, instead of a > relative path That's part of the trouble - the design of the script is such that it doesn't care where $DOCUMENT_ROOT is - it figures out where it lives and bases everything off of that. I don't want to assume that I can predict where a user will install the program. If there's no way to modify the include_path from within a script file, that's fine, I just haven't found an answer in the documentation one way or the other and I'm just wondering if anyone knows something that I haven't found.... -dan -- Dan Lowe <dan@tangledhelix.com> http://tangledhelix.com/ Don't let it end like this. Tell them I said something. -Pancho Villa's last words

« previous php.general (#26785) next »