Re: relative paths with "require"

From: Date: Wed, 20 Oct 2004 13:53:22 +0000
Subject: Re: relative paths with "require"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199884@lists.php.net to get a copy of this message
On Wed, 20 Oct 2004 09:30:20 -0400, Joey Morwick <jmorwick@eschoolconsultants.com> wrote: > Hello, I'm experiencing a problem with PHP4. On the server where our code > used to reside, the relative path used in an include started from the > directory in which the file containing the require statement resided. On > our new server, the relative paths seem to start from where the first php > script in the chain of "require"'s resides. Did you check the open_basedir setting? That will make php act as you described. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/

« previous php.general (#199884) next »