> else if ($userlogin && $userpass == $admin && $adpw) {
this line probably isn't going to do what your thinking it will.

you probably want either 

else if ($userlogin == $admin && $userpass == $adpw) {

or 

else if (strcasecmp($userlogin,$admin) == 0 && 
          strcasecmp($userpass,$adpw) == 0) {


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

Reply via email to