posible bug, require and symlinks

From: Date: Thu, 14 Nov 2002 01:12:44 +0000
Subject: posible bug, require and symlinks
Groups: php.general 
Request: Send a blank email to php-general+get-124357@lists.php.net to get a copy of this message
-----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 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 original file in the error message). I'm using PHP 4.2.3-1mdk (Mandrake 9.0). I'm searching the bug database to see if there's an already reported bug, but I can't find it... Maybe something is wrong here, so I'd like if someone can confirm this or add any comments or tell me if it is a bug, reported, or just a weird behaviour. Thank you. - -- Pupeno: pupeno@pupeno.com http://www.pupeno.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE90viPLr8z5XzmSDQRAp8yAJ9GhzdcyxMl8dfoM9IVUK50fxvfJQCfUthZ Yyh5vNZokFSsyHg4DM0ZESQ= =2Hao -----END PGP SIGNATURE-----

« previous php.general (#124357) next »