#20452 [NEW]: Problems requiring/including when original file is a symlink
| From: | pupeno at pupeno dot com | Date: | Fri, 15 Nov 2002 23:35:13 +0000 |
| Subject: | #20452 [NEW]: Problems requiring/including when original file is a symlink | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25018@lists.php.net to get a copy of this message | ||
From: pupeno@pupeno.com
Operating system: Linux Mandrake 9.0
PHP version: 4.2.3
PHP Bug Type: Scripting Engine problem
Bug description: Problems requiring/including when original file is a symlink
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 bug report at http://bugs.php.net/?id=20452&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20452&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20452&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20452&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20452&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20452&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20452&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20452&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20452&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20452&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20452&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20452&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20452&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20452&r=isapi