11-04-2003, 12:58 PM
|
|
Confirmed User
Join Date: Nov 2002
Location: NY
Posts: 311
|
Quote:
Originally posted by 4Pics
Did anyone write a php script that imports the csv file to
a mysql database then have a redirect script?
Data for csv looks like
33996344 33996351 GB GBR UNITED KINGDOM
Then you can convert the surfers ip to that format via
$dotted_ip_address = long2ip($ip_number);
and see where the ip matches up.
I didn't want to duplicate work if someone already had something they'd share.
|
i got it in perl
http://www.adultexpectations.com/geo_ip_db.txt 
|
|
|