Re: $HTTP_SERVER_VARS has only 1 value
| From: | Teodor Cimpoesu | Date: | Mon, 22 Jan 2001 21:08:24 +0000 |
| Subject: | Re: $HTTP_SERVER_VARS has only 1 value | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36076@lists.php.net to get a copy of this message | ||
Hi Todd!
On Mon, 22 Jan 2001, Todd Cary wrote:
> Teo -
>
> That works great for Apache but not for my ISAPI installation that is
> using IIS on a Win 2K platform. Is there a way to tell if I am using an
> ISAPI server or not? Otherwise I will put that in my parameter file.
>
Yap, I think it's php_sapi_name(). [I get `cgi' for the CGI version, and
apache' for Apache module, so I guess you'll get iis' for the iis one ]
-- teodor