<?
include("config.inc.php");
if($password=="$youpassword"){
setcookie("OkPassword", "$youpassword", time()+31104000);
header("Location:$truepath");
}Else{
setcookie("FalsePassword", "$messedg", time()+30);
header("Location:$formaforpassword");
}
?>