[PHP] relative paths with require

2004-10-20 Thread Joey Morwick
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

Re: [PHP] relative paths with require

2004-10-20 Thread Greg Donald
On Wed, 20 Oct 2004 09:30:20 -0400, Joey Morwick [EMAIL PROTECTED] 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

Re: [PHP] relative paths with require

2004-10-20 Thread Joey Morwick
Greg Donald wrote: Did you check the open_basedir setting? That will make php act as you described. We don't have open_basedir set, but our problem is slightly different. If you were to execute only a.php in my previous example, there would be no error since the current directory would be