Support » Fixing WordPress » WordPress and Geolocation

  • I have a homemade script on my blog’s header to record visitors and there geographical position in a mysql database. I have however run into problems with the api. What I want to do is IP lookup each new guest and store their location in a database. I try to run a file() on the location of the ip lookup page on hostip and I get the following error:
    Warning: file( failed to open stream: No route to host in /home2/tales/public_html/wp-content/themes/default/header.php on line 63

    So obviously, my geolocating function isn’t going anywhere. My homemade script can be found at

  • The topic ‘WordPress and Geolocation’ is closed to new replies.