1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help With MaxMind Geo Targeting

Discussion in 'Cloaking and Content Generators' started by raz777, Jul 27, 2009.

  1. raz777

    raz777 Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    292
    Likes Received:
    121
    Location:
    in the Bathroom
    hi

    i upload those files to my server:

    index.php
    GeoIp.dat
    GeoIP
    geoip.php

    i set my links on the index file but when i visit the page i get those errors:

    Warning: include(geoip.inc) [function.include]: failed to open stream: No such file or directory in /home/user/public_html/mysite/test/index.php on line 4

    Warning: include(geoip.inc) [function.include]: failed to open stream: No such file or directory in /home/user/public_html/mysite/test/index.php on line 4

    Warning: include() [function.include]: Failed opening 'geoip.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/mysite/test/index.php on line 4

    Fatal error: Call to undefined function geoip_open() in /home/user/public_html/mysite/test/index.php on line 6
     
  2. zorphee

    zorphee Registered Member

    Joined:
    May 16, 2009
    Messages:
    71
    Likes Received:
    7
    Occupation:
    What's this? Lol..
    Location:
    Singapore LAH.
    I dunno if you're on the right forum.. Lol..

    Are your global settings correct? Have you set up the database in phpmyadmin?

    It should be either of these two.. :)
     
  3. zorphee

    zorphee Registered Member

    Joined:
    May 16, 2009
    Messages:
    71
    Likes Received:
    7
    Occupation:
    What's this? Lol..
    Location:
    Singapore LAH.
    Ooops.. I relooked and it seems that you didn't uploaded a geoip.inc file or something that would be needed..
     
    • Thanks Thanks x 1
  4. raz777

    raz777 Regular Member

    Joined:
    Feb 24, 2008
    Messages:
    292
    Likes Received:
    121
    Location:
    in the Bathroom
    WHAT????????

    anyway i found a simple code for geo redirect , thanks

    Code:
    http://www.blackhatworld.com/blackhat-seo/making-money/92299-simplest-geo-redirect-code.html