Home > Programming, Servers & Scripts >

Global GeoIP (4)


08-08-2012 11:32 PM #1 browndog (Member)
Global GeoIP

I'm using beyond hosting which has the maxmind geolite database already installed. I've been using this php script.

<?php
$geo = geoip_record_by_name( $_SERVER['REMOTE_ADDR'] );
echo "".$geo['city'].", ".$geo['region'].""
?>

I learned this doesn't work globally so I was wondering if you guys could recommend what I should use. I was looking at the GeoIP City/ISP/Organization Web Service. Which is $20 for 50,000 lookups. But I'm new to this so I'm not even sure if that's what I need.

Thanks


08-08-2012 11:50 PM #2 Loffy (Member)

Don't know if it helps in this case, but there is some geo stuff in this thread.


08-09-2012 01:06 AM #3 usernameistaken (Member)

Quote Originally Posted by browndog View Post

I learned this doesn't work globally
Can you elaborate on that?


08-09-2012 05:53 AM #4 browndog (Member)

I tested the landing page using a VPN to make sure everything was working correctly. Everything was fine in the US but other countries would show up wrong or blank. Support for beyond hosting confirmed that I would have to get a subscription if I wanted to use it globally.


Home > Programming, Servers & Scripts >