Re: Login script problem
| From: | Reese | Date: | Sat, 05 Jan 2008 18:57:43 +0000 |
| Subject: | Re: Login script problem | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266806@lists.php.net to get a copy of this message | ||
Daniel Brown wrote:
if(!isset($key=='1')) //caused parse error
Got it, I see the mistake now.That's because isset() isn't able to eval() an expression.
Remove the !isset() part, or the =='1' part and that will remove the parse error.I changed it to if(!isset($key)) and you were right, the parse error went away. This change seems to have no effect on access code logins (I'm able to log in, as expected) or IP-authenticated logins (I still cannot log in, even though my IP is in the MySQL db). Reese