ID: 44293 Updated by: [EMAIL PROTECTED] Reported By: mmichel at chez dot com -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Win2003 PHP Version: 5.2.5 New Comment:
Well, there's the problem: realpath() is an OS filesystem function and doesn't give a damn about any "virtual" stuff IIS might provide. No bug. Previous Comments: ------------------------------------------------------------------------ [2008-03-06 12:45:44] mmichel at chez dot com yes there is. Elsewhere could be accessed with ../../Elsewhere from the root directory of the website. Virtual Directories in IIS try to mimic symlinks, but they are not real files that can be tracked down like symlinks. This may be the problem determining the realpath. ------------------------------------------------------------------------ [2008-03-05 09:28:21] [EMAIL PROTECTED] So is there some path in your filesystem called "Elsewhere" which is relative to the current working directory? If there is, then this is a bug, but if there isn't, then it's not a bug. ------------------------------------------------------------------------ [2008-03-03 15:03:10] mmichel at chez dot com > Try adding the trailing slash in the directory.. No change. ------------------------------------------------------------------------ [2008-03-03 14:48:34] [EMAIL PROTECTED] Try adding the trailing slash in the directory.. ------------------------------------------------------------------------ [2008-03-03 14:31:58] mmichel at chez dot com Addendum from my 3 Mar 1:56pm UTC comment: Whilst php is able to give me the realpath of the script http://localhost/elsewhere/test.php , asking for the realpath of http://localhost/elsewhere in the http://localhost/local/test.php script fails. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/44293 -- Edit this bug report at http://bugs.php.net/?id=44293&edit=1