Re: PHP and IIS - More info
| From: | Beauford.2002 | Date: | Wed, 19 Mar 2003 18:44:23 +0000 |
| Subject: | Re: PHP and IIS - More info | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140323@lists.php.net to get a copy of this message | ||
Further note that it is not just this script, but many PHP scripts that I
run on IIS - they all work perfectly on Apache (on Windows and Linux)..
----- Original Message -----
From: "John W. Holmes" <holmes072000@charter.net>
To: "'Beauford.2002'" <beauford.2002@rogers.com>; "'PHP
General'"
<php-general@lists.php.net>
Sent: Wednesday, March 19, 2003 12:21 PM
Subject: RE: [PHP] PHP and IIS - More info
> > These are some of the errors I am getting
> >
> > Notice: Undefined index: login in
> > C:\Inetpub\wwwroot\xxxx.xxxx.xxxx\login\checklogin.php on line 74
> >
> > and 75, and other similar errors.
> >
> > Line 74 is: $login = $HTTP_SESSION_VARS['login'];
> > Line 75 is: $password = $HTTP_SESSION_VARS['password'];
> >
> > Another one is: echo $HTTP_ENV_VARS["QUERY_STRING"];
>
> There is no 'login' or 'password' index in the $HTTP_SESSION_VARS array.
> How are you registering these variables? Try using the new method with
> $_SERVER.
>
> ---John W. Holmes...
>
> PHP Architect - A monthly magazine for PHP Professionals. Get your copy
> today. http://www.phparch.com/
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>