note 32758 deleted from function.getenv by philip
| From: | philip@php.net | Date: | Mon, 09 Jun 2003 21:00:43 +0000 |
| Subject: | note 32758 deleted from function.getenv by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-50055@lists.php.net to get a copy of this message | ||
Note Submitter: shanx@shanx.com
----
Well, which one should you use?
$_SERVER['PHP_SELF'] or $_SERVER['SCRIPT_NAME'] or
getenv('SCRIPT_NAME') ?
It depends on how you are running PHP (module/CGI) and on what OS.
Well, this is one test: http://sniptools.com/vault/000023.htm