Skip to content

Instantly share code, notes, and snippets.

@dnikonov
Created July 11, 2014 06:06
Show Gist options
  • Save dnikonov/1178170035bcd2e543a6 to your computer and use it in GitHub Desktop.
Save dnikonov/1178170035bcd2e543a6 to your computer and use it in GitHub Desktop.
PHP: geo
$geo = json_decode(file_get_contents('http://api.sypexgeo.net/json/'.$_SERVER["REMOTE_ADDR"]));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment