note 60918 deleted from reserved.variables by danbrown
| From: | danbrown@php.net | Date: | Tue, 24 Aug 2010 18:18:36 +0000 |
| Subject: | note 60918 deleted from reserved.variables by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-171996@lists.php.net to get a copy of this message | ||
Note Submitter: marsh at NOSPAM-TAKETHATSPAMMER dot uri
----
The solution advanced by info at meshkaat dot com does not work correctly on machines with IIS
configured to use
a virtual directory as the launch point. The address strings for
$_SERVER['SCRIPT_FILENAME'] and $_SERVER['PHP_SELF'] will not necessarily have
the same name for the highest level directory in $_SERVER['PHP_SELF'], and therefore this
solution will not return the proper value.