Re: Problem with a login page.
| From: | dpgirago at mdanderson dot org | Date: | Mon, 06 Mar 2006 21:19:43 +0000 |
| Subject: | Re: Problem with a login page. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-41391@lists.php.net to get a copy of this message | ||
<snip>...
// check passwords match
$_POST['password'] = stripslashes($_POST['password']);
$info['password'] = stripslashes($info['password']);
$_POST['password'] = $_POST['password'];
if ($_POST['password'] != $info['password']) {
die('Incorrect password, please try again.');
}
<snip>...
Alex,
Sticking for the moment with the error message you get, I can't see
anyplace where an array named "$info" with a key of "password" is declared
or assigned this value. Are you sure that this variable exists?
David