nheimberg Posted November 17, 2006 Posted November 17, 2006 You are banned from the site for the reason {$a['reason']} Quote
Decepti0n Posted November 17, 2006 Posted November 17, 2006 Re: account broken at a guess function userdata($ir,$lv,$fm,$dosessh=1) { global $c,$userid; $lastip = $ir['lastip']; $q = mysql_query("SELECT COUNT(*) as num FROM `ipban` WHERE `ip`='$lastip'",$c); $rows = mysql_fetch_assoc($q); if($rows['num'] >= 1){ $a = mysql_fetch_assoc(mysql_query("SELECT `reason` FROM `ipban` WHERE `ip` = '$lastip'")); die("<body bgcolor='#333333'><center>You are banned from the site for the reason {$a['reason']}</center></body>"); } else { $i = (getenv('HTTP_X_FORWARDED_FOR') != false) ? getenv('HTTP_X_FORWARDED_FOR') : getenv('REMOTE_ADDR'); $host = gethostbyaddr($i); mysql_query("UPDATE `users` SET `lastip`='$i', laston = unix_timestamp() WHERE `userid`='$userid'",$c); } if(!$ir['email']) { die ("<body>Your account may be broken. Quote
solar Posted June 10, 2007 Posted June 10, 2007 Re: account broken Most of these errors are becuse there not putting there email :-D Quote
KyleCrispy Posted June 11, 2007 Posted June 11, 2007 Re: account broken yes i had a member mailing me to my msn saying that he cant login i saw on his account he had no email in so i put a email in and it worked Quote
03laceys Posted June 11, 2007 Posted June 11, 2007 Re: account broken i also had this problem no email then the account dosn't work :) Quote
hamster01 Posted June 11, 2007 Posted June 11, 2007 Re: account broken Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /home/polar8/public_html/header.php on line 173 That has nothing to do with an email address. It calls the host trough the ip address: $HOST = gethostbyaddr($_SERVER['REMOTE_ADDR'); The email may be part of the error sometimes. The script could not locate the email address correctly and/or the Host could not be retrieved. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.