Re: PHP equiv of ASP "Request.ServerVariables( "SCRIPT_NAME" )"
| From: | Zak Greant | Date: | Tue, 01 May 2001 23:04:27 +0000 |
| Subject: | Re: PHP equiv of ASP "Request.ServerVariables( "SCRIPT_NAME" )" | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7191@lists.php.net to get a copy of this message | ||
r.gelstharp wrote:
> Is there a PHP equivalent of "Request.ServerVariables( "SCRIPT_NAME" )"
from
> ASP?
The value will be available in the $HTTP_SERVER_VARS array as
$HTTP_SERVER_VARS['SCRIPT_NAME'] and/or as $SCRIPT_NAME or via
the getenv() function.
You really should review the first three sections of the PHP manual
it contains the answers to all of your recent questions.
--zak