10-08-2009, 12:26 AM
session_start(); must be called before any other output in your script (print, echo, header)
According to the error you are calling session_start() on line 4 but you also have an somthing on line 3 you should swich those two, that should help you with session_start() Warning
in login.func.php at the bottom is the header functions wich redirects you to loginerror.php
you can change that to what ever you want to be redirected to on login error
Wich occurs when you input wrong values and the specified user can not be found in the database
According to the error you are calling session_start() on line 4 but you also have an somthing on line 3 you should swich those two, that should help you with session_start() Warning
in login.func.php at the bottom is the header functions wich redirects you to loginerror.php
you can change that to what ever you want to be redirected to on login error
Wich occurs when you input wrong values and the specified user can not be found in the database
PHP Code:
header("location:loginerror.php");//this iswhere you put the page you want to goto if their login is wrong