Sorry, You Are Not Permitted To Use This Board
Syclone
Join Date: 2002-12-11 Member: 10574Members
in Tech Support
<div class="IPBDescription">IP / Subnet banned ?</div> It looks like my IP / Subnet has been banned. I have had to resort to a proxy to visit this forum.
<b>Sorry, you are not permitted to use this board </b>
I get this message as soon as I turn off my slow dodgy proxy.
Can someone tell me a good reason my IP / subnet has been banned.
<b>Sorry, you are not permitted to use this board </b>
I get this message as soon as I turn off my slow dodgy proxy.
Can someone tell me a good reason my IP / subnet has been banned.
Comments
Ok, change of heart. We had a large ranged banned recently due to a annoying and evading spammer. Spyder and I agreed rebanning is easier/better than keeping another member banned <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
I have a static IP incase you wish to reban him ... and allow my IP.
Msg / email me for it.
Thanks again.
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->function get_remote_ip(){
if (getenv(HTTP_X_FORWARDED_FOR)){
$remote_ip = getenv(HTTP_X_FORWARDED_FOR);
} else {
$remote_ip = getenv(REMOTE_ADDR);
}
return $remote_ip;
}
function authit(){
$remote_ip = get_remote_ip();
# Just keep adding eregs. You can use wildcards or more complex logic of course.
if ((ereg("10.1.1.1", $remote_ip)) ||
(ereg("10.1.1.2", $remote_ip))){
$AUTH = 1;
}
return $AUTH;
}
if(authit()){
....the rest of your webpage.
}else{
# For example
echo "You are banned from these forums.";
}
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
(Edited for prettyness)