I am creating a login authentication scheme for a website that is running on Windows XP and using IIS (not my idea) and running into some problems. The scripts work fine on my Linux box, but when I port them to Windows I get all sorts of errors. i.e.
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"];
I have global variables turned on in php.ini (which some say is not a good idea), but I am not sure of how to get things to work otherwise. Anyway, I'm getting away form the problem.
Any help on why this is would definately be appreciated. I'm not sure if this is because of the way IIS sees these or what, but I really need these to work.
Thanks