I used this snippet for a geolocation script.
$ipaddress=$_SERVER['REMOTE_ADDR'];
Name
Mail (will not be published)
Website
View all posts by Ann . Subscribe to follow comments on this post. Add your thoughts or trackback from your own site.