note 18522 added to function.realpath
| From: | lvd at kultur dot at | Date: | Sat, 26 Jan 2002 09:34:53 +0000 |
| Subject: | note 18522 added to function.realpath | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-25838@lists.php.net to get a copy of this message | ||
realpath appears to be a rather unintelligent function as it neither resolves complete URLs nor
virtual directories mapped by the IIS.
http://62.218.58.198/kultur/_cms/news/docs/
is a url pointing to the physical path
f:\inetpub\wwwroot\graz2003\news\docs
(note: http://62.218.58.198/kultur/_cms/news
points to f:\inetpub\wwwroot\kultur\_cms\news)
realpath (http://62.218.58.198/kultur/_cms/news/docs/) called from a script in http://62.218.58.198/kultur/_cms/admin/ produces
f:\inetpub\wwwroot\kultur \_cms\admin\http:\62.218.58.198\kultur\_cms\news\docs
quite awful
--
http://www.php.net/manual/en/function.realpath.php
http://master.php.net/manage/user-notes.php?action=edit+18522
http://master.php.net/manage/user-notes.php?action=delete+18522
http://master.php.net/manage/user-notes.php?action=reject+18522