Re: Problem with a login page.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux