Alright. I have a login system (simple).
<?php
if($_POST["pass"] == "bokchoy")
{
setcookie(pass,bokchoy,time()+1800);
header("Location: members.php");
}
else
{
setcookie(pass,wrong,time()+1800);
header("Location: wrong.php");
}
?>On the previos page, there is a form. That sends "pass" to this page. The login goes though, and NOTHING happens when i load this page. I am not redirected to members.php OR wrong.php and the cookie is not set. Please help. the code was placed in the body. the website is
www.dhost.info/mossg (class website, dont laugh)