![]() |
need ip/country program
I'm looking for a program that can tell you what country a person is from by their ip addy. anyone got any leads?
thanks! |
|
No need to look it up, 99 in 100 hack attempts are from Russia so don't waste your time.
|
I've never used them but have heard this company is pretty good and you can't beat the price
http://www.iptocountry.com/ |
thanks for the links!
madball- I'm not tracking attacks, but thanks for the concern |
Visual Route. Get it from download.com
You could have just asked me in ICQ, you know I know everything! :winkwink: |
|
Quote:
ICQ 149241543 |
How fast is this? I mean if you put it in your index file and it have to look through a giant database of IP's wouldn't you see a slowdown?
|
Quote:
It all has to do with what you've got and how you tweak it. |
thanks for the info..
anthony_a, thats exactly what I needed, how did you know, lol |
|
This is a rather simple perl module but thats why it is also free :winkwink:
http://www.perlcoders.com/packages/C...module-1.6.zip |
|
We've been using the database from http://www.ip2country.com
They release updates to the database quarterly, and it's pretty cheap. As for speed, no it's not slow. You're not scanning through the database, you use the IP address you wish to look up (the first three octects/class C) to generate the offset into the file. Ie, you fopen the file, then fseek to the byte location determined by: where IP is A.B.C.D offset = (a*(256^2)+b*256+c)*2 the final *2 is because the dataset is two characters, the ISO country code (US, UK, DE, etc) hey Anthony, what's your ICQ? Always good to know more people who know everything. 1240050 |
All times are GMT -7. The time now is 05:50 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123