Re: [PHP] posible bug, require and symlinks

2002-11-14 Thread Jonathan Sharp
Can you post some sample code as well as paths to symlinks etc. -js Michael Sims wrote: > On Wed, 13 Nov 2002 20:12:44 -0500, you wrote: > > >>When I require a file from index.php, if there's no .. on the path (a relative >>path, but not going back), the relative path is from where the origin

Re: [PHP] posible bug, require and symlinks

2002-11-14 Thread Michael Sims
On Wed, 13 Nov 2002 20:12:44 -0500, you wrote: >When I require a file from index.php, if there's no .. on the path (a relative >path, but not going back), the relative path is from where the original file >is, but if there's a .. on the path, the relative path is from where the >symlink is (alt

Re: [PHP] posible bug, require and symlinks

2002-11-14 Thread Krzysztof Dziekiewicz
> When I require a file from index.php, if there's no .. on the path (a relative > path, but not going back), the relative path is from where the original file > is, but if there's a .. on the path, the relative path is from where the > symlink is (although php identifies the script as the origin

[PHP] posible bug, require and symlinks

2002-11-13 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think I've found a posible bug, or at least, an unexpected behaviour. I'm requesting a page, the file that is called is index.php, but this file is a symlink from somewhere else. When I require a file from index.php, if there's no .. on the path (a