![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
King of Portal
|
I created a geolocation script using the data available from ip2nation. I was hoping you guys could visit the main Mimesis page and tell me if it correctly identifies the country you're viewing the site from. Thanks for the feedback.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() |
Re: Need Help from Foreigners
It says I'm from the United States, but my ISP and I are both in Ottawa. My IP address starts with 65.93 if that helps.
__________________
Looking for tough programming challenges? Try participating in Sane's Monthly Algorithms Challenges! Composing Techno is a little side hobby of mine. Techno by DJ Sane. All free for download. |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
Re: Need Help from Foreigners
It says United States for pretty much everywhere I check it from. I tried loading it through several proxies found at http://proxy.org/cgi_proxies.shtml
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi freelance scripts - http://ryanguthrie.com/index.html |
|
|
|
|
|
#4 |
|
King of Portal
|
Re: Need Help from Foreigners
Hmm... the issue may be that the database info is incorrect OR that my script is messing up. I'm going to do some experiments with some arbitrary IP addresses and test them at maxmind.com to see if it functions properly.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#5 |
|
King of Portal
|
Re: Need Help from Foreigners
Better yet, Sane and Mocker, does the ip2nation main page yield the same result? If so, then I know it's not my script and it's the database that is flawed.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#6 |
|
King of Portal
|
Re: Need Help from Foreigners
OK I forgot to add a break; statement in there. It SHOULD work now. It was yielding US for everything because it was returning the US code since the searching was being performed incorrectly, and the US is the last country code in the database.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis |
|
|
|
|
|
#7 |
|
Programming Guru
![]() ![]() |
Re: Need Help from Foreigners
Bingo.
__________________
Looking for tough programming challenges? Try participating in Sane's Monthly Algorithms Challenges! Composing Techno is a little side hobby of mine. Techno by DJ Sane. All free for download. |
|
|
|
|
|
#8 |
|
Hobbyist Programmer
|
Re: Need Help from Foreigners
Worked fine on the few I tried (Germany, Canada and Great Britain)
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi freelance scripts - http://ryanguthrie.com/index.html |
|
|
|
|
|
#9 |
|
SEXY SHOELESS GOD OF WAR!
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,193
Rep Power: 5
![]() |
Re: Need Help from Foreigners
It says I'm visiting from Vietnam (I'm not). The ip2nation page gets it right, and says I'm in Canada, so it looks like you've still got a bit of work to do on it, grim. good luck.
![]()
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
#10 |
|
Unknown
Join Date: Apr 2008
Location: unknown
Posts: 87
Rep Power: 1
![]() |
Re: Need Help from Foreigners
it works for me grim.....
__________________
------------------------------------------------------------------------- I thought what I'd Do was, I'd pretend to be one of those deaf mutes ------------------------------------------------------------------------ |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|