note 47546 deleted from function.realpath by sean
| From: | sean@php.net | Date: | Fri, 19 Nov 2004 17:40:26 +0000 |
| Subject: | note 47546 deleted from function.realpath by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80772@lists.php.net to get a copy of this message | ||
Note Submitter: ash at spamless dot theleys dot net
----
sarizmendi is right, and this is very frustrating. I'm trying to use a script with a different
virtual root, which process folders/contents. This works perfectly with asp's server.mappath()
but realpath() fails, because it's mapping to the same doc root (C:\inetpub\wwwroot) when it
should be from a different virtual path (i.e. D:\content). Although I could force this to the static
path, I'm trying to use it with a $_GET, and this could point to any of a number of virtual
roots.