Re: Login variable is empty but password is OK. Why? (newbie question)
| From: | Matt Matijevich | Date: | Wed, 21 Jan 2004 21:06:18 +0000 |
| Subject: | Re: Login variable is empty but password is OK. Why? (newbie question) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175339@lists.php.net to get a copy of this message | ||
try this:
print "<pre>";
print_r ($_POST);
print "</pre>";
do you see nome in there? I think the reason $senha has a value in it
is md5 gives you a string even if you pass it a blank value.
I would use these 2 variables $_POST['nome'] and $_POST['senha']
also look at register_globals on the php.net website.