Mega Code Archive
Complete, simple working example of login screen and check on a unique
page using php functions, cookies and mysql database.
";
//The use of the http header is inconsistent with many browser if you have
//already setted a cookie. So, after the setcookie command the script uses
//the meta tag to obtain the same result.
}else{
header($loc);
}
}else{
?>
Login to PHP Coders DB