Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > General > Open topics

Reply
 
LinkBack Thread Tools Display Modes
ip range redirecting
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Mar 2003
Location: United Kingdom
ip range redirecting - 04-26-2003, 08:13 PM

I wonder if someone would be able to offer some advice on how to alter the code snippet below to ban ip ranges or could come up with something that will work because I run an alcohol and drug recovery resource site which has recently been listed on a number of search engines and we have started to attract regular abusive users that disrupt the site and affect other members.

<?php

$ip = getenv("REMOTE_ADDR");
switch ($REMOTE_ADDR)
{
case "xxx.xx.xx.xx";
Header("Location: blocked.php");
break;

}
?>

I have found this will redirect a user to a page explaining that they have been denied access to the site but as soon as they disconnect and reconnect to their isp their ip number changes so I have to keep tracking trouble makers rather than spending time with our members.

If anyone can help me I would be very very grateful.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The post display width is out of range ERROR? scarfacecapone Nuke 7.x - General 5 11-03-2006 05:18 PM
The post display width is out of range. Eagle75 Nuke 7.x - General 1 05-22-2005 12:03 AM
web redirecting maxdy Open topics 0 07-07-2003 02:21 AM
How do I back up a specific range of records? jmellicant Purged Topics 1 03-11-2003 02:21 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31