Re: Login script problem

From: 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
    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

« previous php.general (#266806) next »