« Return to Thread: Login script problem

Re: Login script problem

by Reese-4 :: Rate this Message:

Reply to Author | View in Thread

Daniel Brown wrote:

>>         if(!isset($key=='1')) //caused parse error

>     That's because isset() isn't able to eval() an expression.  

Got it, I see the mistake now.

> 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

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

 « Return to Thread: Login script problem