RE: [PHP] PHP and IIS - More info
These are some of the errors I am getting Notice: Undefined index: login in C:\Inetpub\wwwroot\..\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
Re: [PHP] PHP and IIS - More info
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 [EMAIL PROTECTED] To: 'Beauford.2002' [EMAIL PROTECTED]; 'PHP General' [EMAIL PROTECTED] 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\..\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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and IIS - More info
Beauford.2002 wrote: 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).. As well as configuration differences it could be different versions of php. Modern ones expect $_SERVER for example. I might like to blame IIS for a lot of things, but I think you will probably find its not. HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and IIS - More info
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).. HOW DOES IT NOT WORK!? ---John Holmes... - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'Beauford.2002' [EMAIL PROTECTED]; 'PHP General' [EMAIL PROTECTED] 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\..\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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP and IIS - More info
PHP and MySQL, which I am using in this project are the same on all three platforms - the only difference is IIS - which is why I think it is a IIS problem. Problems, Problems... - Original Message - From: Chris Hewitt [EMAIL PROTECTED] To: 'PHP General' [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:40 PM Subject: Re: [PHP] PHP and IIS - More info Beauford.2002 wrote: 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).. As well as configuration differences it could be different versions of php. Modern ones expect $_SERVER for example. I might like to blame IIS for a lot of things, but I think you will probably find its not. HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php