Posted by NC on 03/07/06 22:58
Gernot Frisch wrote:
>
> I tried cookies. I enter good password and get "checking for cookies"
> message. Then I press "Continue", and get the "Enter Password"
> message.
> What's wrong with my code?
....
> if($_COOKIE['glbasic_admin'] != $password)
> {
> echo('<html><body>Enter the admin password and enable cookies to proceed.'.
> '<br><form method="post"
> action="edit.php?lang="'.$_GET['lang'].'<input type="text"
> name="glbasic_admin" >'.
> '<br><input type="submit" name="password" value="Login">'.
> '</form>');
> exit();
> }
It appears that the <form> tag isn't closed (the ">" is missing)...
Cheers,
NC
Navigation:
[Reply to this message]
|