I am looking for a php script that will determine a users ip address and send them to a particular url.
If users IP starts with 10 then send to this URL1
If users IP starts with 192.168.1 then send to URL1
send the user to URL2
Any help would be greatly appreciated.