Results 1 to 5 of 5
Thread: Redirect based on ip address....
Jun 11, 2002, 10:28 #1
- Join Date
- Apr 2001
- 0 Post(s)
- 0 Thread(s)
Redirect based on ip address....
I'm currently using php to monitor ip addresses of my visitors via an ifarme as the external site I'm using can't access my mysql database....unfortunately because the php is checked in an iframe I am unable to redirect problem user to a "You are barred" page...
I'm looking for a script which:
1)Checks a users ip address...
2)Compares it to ip addresses held within the script.
If true redirect to a new page.
If false continue loading the page as it stands.
I have 3 ip addresses which need the script needs to compare against.