note 47487 rejected from function.realpath by betz
| From: | betz@php.net | Date: | Fri, 19 Nov 2004 19:11:07 +0000 |
| Subject: | note 47487 rejected from function.realpath by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80774@lists.php.net to get a copy of this message | ||
Note Submitter: sarizmendi at msn dot com
----
In PHP 4.3.9 for Windows (running with IIS 5.1), if you try
<?php
$a = realpath("/");
?>
it will always return the root of the drive, not the root of the virtual site (in my case
"C:\"). This breaks the Server.MapPath -like behavior.