I am using a function to check if a user has loged in to the site but when it looks through the
function checkuser() it fails and gives me this reply
I am using sessions to track the user
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
here is the script can you see why ?
function checkUser( )
{
global $session, $logged_in;
$session[logged_in] = false;
$member = getRow( "clans", "id", $session[id] );
if ( ! $member ||
$member[name] != $session[name] ||
$member[pass] != $session[pass] )
{
header( "Location: login.php" );
exit;
}
$session[logged_in] = true;
return $member;
}
I think its to do with the getRow line. Am I correct in saying that getRow( "clan" = the table ??
help !!! please !!
Thanks