Hey guys, I used a script that stolzyboy had created for a simple login page, customized it a little, and put it up. It was working fine the past few days on my Win2k3 server, but I was having some problems with MySQL and decided to copy my webroot over to a new Win2k server. Both use IIS.
Now I am getting a wierd error when I load up the login script:
Notice: Undefined index: logged in c:\webroot\auth.inc.php on line 3
(Heres line 3): if ($_SESSION['logged'] != 1)
Warning: Cannot modify header information - headers already sent by (output started at c:\webroot\auth.inc.php:3) in c:\webroot\auth.inc.php on line 6
I'm pretty sure there is either something wrong with my server settings or with my PHP settings in php.ini because of the new install. Nothing in the php files has changed and there is definately a session_start(); at the top of the auth.inc.php file. I'm pretty new to both webservers and php and was wondering if you guys could help me out?