#20452 [Opn->Fbk]: Problems requiring/including when original file is a symlink
| From: | iliaa@php.net | Date: | Sat, 16 Nov 2002 17:48:31 +0000 |
| Subject: | #20452 [Opn->Fbk]: Problems requiring/including when original file is a symlink | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25063@lists.php.net to get a copy of this message | ||
ID: 20452
Updated by: iliaa@php.net
Reported By: pupeno@pupeno.com
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Linux Mandrake 9.0
PHP Version: 4.2.3
New Comment:
Could you show an example of what you mean?
Previous Comments:
------------------------------------------------------------------------
[2002-11-15 17:35:13] pupeno@pupeno.com
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 '..'
(dots) on the path (a relative path, but not going back),
the relative path is from where the original file is, but
if there are '..' 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).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20452&edit=1