Re: relative paths with "require"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 20 Oct 2004 09:30:20 -0400, Joey Morwick
<jmorwick@xxxxxxxxxxxxxxxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux