If I replace
Quote:
if ( ($checkpass == 1 || $dbpassword == $md5cookpass) && $userid != -1 ) {
with
if ( ( $cooksess == $session_key ) && ( $md5cookpass == $dbpassword ) ) $checkpass = 1;
|
I get this:
Parse error: syntax error, unexpected T_ELSE in /home/public_html/gallery/forums/phpbb3.php on line 583