I Need A Ban Script Please Somebody Can Provide Me

Started on the old forum in May 2008 · view the original in the archive · old links redirect here

9 replies · 889 views · started 18 years ago · 1 min read

4 participants
bijaybd Developer · 178 posts #1

there is a chat script by ghost brother which is Mobile Chat V2.0.2 can please somebody make a mod or addon for banning the brower like in my country alsomost every mobile companies give just 1 or 2 ips so same ips for every users to ip can not be ban is there any way if ban someone he can't register again only that perticular user not any other users can sombody please help me on that thank you.

bijaybd Developer · 178 posts #3

is that ban script will ban the ip or ban the brower bcz from 1 ip so many users connect because they don't have any unique ip so if ip will be banned then then no one can chat. so i need a script that will only ban that perticular user and that user can't register again also no one else will be banned on that shared ips.

bijaybd Developer · 178 posts #4

please provide me a ban script with brower banning please please please i really inneed of that

subzero Super moderator Fellow · 3,954 posts #5
<?php
$ip = getenv('REMOTE_ADDR');
$blocked = "xx.xx.xx.xx"; // Replace the x's with the IP address.

if (ereg($blocked,$ip))
{
echo "You Have Been Banned";
exit();
}
?>

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

WhiteWarrior Principal · 1,419 posts #6
<?php
 $ip = getenv('REMOTE_ADDR');
 $blocked = "xx.xx.xx.xx"; // Replace the x's with the IP address.
 
 if (ereg($blocked,$ip))
 {
 echo "You Have Been Banned";
 exit();
 }
 ?>

Only problem with that is if someone is using the o2 network and they block one ip address, all the people with that ip address would be banned...

same with any network IP...

thats the bad part with IP banning scripts.. External image (may be gone)

subzero Super moderator Fellow · 3,954 posts #7

you use this

$brw = getenv('HTTP_USER_AGENT');

// To block phones or any browser use blocked to add a new line $blocked = " WHAT PHONE TYPE! ";
$blocked = "Opera"; 

if (ereg($blocked,$brw ))
{
echo "You Have Been Banned";
exit();
}

Or send them some where else !

$brw = getenv('HTTP_USER_AGENT');

// To block phones or any browser use blocked to add a new line $blocked = " WHAT PHONE TYPE! ";
$blocked = "Opera"; 

if (ereg($blocked,$brw ))
{
header("Location: http://free.com");
exit();
}

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

bijaybd Developer · 178 posts #8

ok thank you guys let me try this

subzero Super moderator Fellow · 3,954 posts #10

Your Welcome mate External image (may be gone)

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close