Posted on: 06/09/05 05:25pm
By: Frlitz
Complaint: Notice: Undefined variable: PASSWORD in /var/www/html/public_html/phpmychat/mychat/chat/lib/index.lib.php3 on line 259 Notice: Undefined variable: PASSWORD in /var/www/html/public_html/phpmychat/mychat/chat/lib/index.lib.php3 on line 265 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/public_html/phpmychat/mychat/chat/lib/index.lib.php3:259) in /var/www/html/public_html/phpmychat/mychat/chat/lib/index.lib.php3 on line 281 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/public_html/phpmychat/mychat/chat/lib/index.lib.php3:259) in /var/www/html/public_html/phpmychat/mychat/chat/lib/index.lib.php3 on line 457 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/public_html/phpmychat/mychat/chat/lib/index.lib.php3:259) in /var/www/html/public_html/phpmychat/mychat/chat/lib/index.lib.php3 on line 458
index.lib.php3 at line 254: if (!(isset($E) && $E != "")) { // Check for password if the nick exist in registered users table if ($reguser) { if ($PASSWORD == "" && !isset($PWD_Hash)) { $Error = L_ERR_USR_3; } else { if (md5(stripslashes($PASSWORD)) != $user_passw ord && (!isset($PWD_Hash) || $PWD_Hash != $user_password)) $Error = L_ERR_USR_4; } if (!isset($Error)) $DbLink->query("UPDATE ".C_REG_TBL. " SET reg_time=".time()." WHERE username='$U'"); } // If users isn't a registered one and phpMyChat require registration deny access else if (C_REQUIRE_REGISTER) { $Error = L_ERR_USR_14; } } at 281: setcookie("CookieUsername", $CookieUsername, time() + 60*60*24*365); at 457: setcookie("CookieRoom", $CookieRoom, time() + 60*60*24*365); at 458: setcookie("CookieRoomType", $T, time() + 60*60*24*365);
php.ini output_buffering=on;