RE: [PHP4BETA] Accessing server variables from php scripts...
| From: | Samuel Liddicott | Date: | Wed, 29 Dec 1999 09:55:27 +0000 |
| Subject: | RE: [PHP4BETA] Accessing server variables from php scripts... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8647@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Ryan_Robertson@3com.com [mailto:Ryan_Robertson@3com.com]
> Sent: Monday, December 20, 1999 07:26 PM
> To: php4beta@lists.php.net; Samuel Liddicott
> Subject: RE: [PHP4BETA] Accessing server variables from php scripts...
>
>
>
>
> Sam,
>
> >You might need:
> ><? echo GetEnv("SCRIPT_NAME"); ?>
> >
> >I know you do for apache.
>
> Thanks for the tip. That actually helped me narrow down my
> question a bit more.
>
> My real question now is: How do I acces ISAPI variables? GetEnv
> returns the
> environment varables correctly, but doesn't include the ISAPI variables.
Hmm. For Cross platform compatability then... perhaps PHP should grab some
of these server variables and stick them in some other name space so that
accross all kinds of web servers, things like HOST_NAME, SCRIPT_NAME,
PATH_TRANSLATED are available??
Sam