» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 46
1 members and 45 guests
TopShopOEM
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on ip range redirecting within the Open topics forums, part of the General category; I wonder if someone would be able to offer some advice on how to alter the code snippet below to ...



Go Back   Nukemods Forum » General » Open topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-26-2003, 07:13 PM
Junior Member
 
Join Date: Mar 2003
Location: United Kingdom
Posts: 4
ip range redirecting
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 04:18 PM
The post display width is out of range. Eagle75 Nuke 7.x - General 1 05-21-2005 11:03 PM
web redirecting maxdy Open topics 0 07-07-2003 01:21 AM
How do I back up a specific range of records? jmellicant Purged Topics 1 03-11-2003 01:21 PM


All times are GMT -5. The time now is 10:27 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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