Can't get GeoIP Script to work. Any help?

1 replies
I'm trying to set up this GeoIP script following the tut on this website:

Dynamic Landing Pages: Using POF Tokens to Call Out the User and Increase Performance | iPyxel Creations | Demand-side performance marketing software and digital marketing insights

Basically I'm just putting this code above the <html> tag: (tried above the <head> tag as well)

PHP Code:
<script language=&#8220;JavaScript” src=“http://j.maxmind.com/app/geoip.js”></script> 
And this one where I want my GeoIP info to appear:

PHP Code:
<script language=&#8220;JavaScript”>document.write(geoip_city());</script>
<script language=&#8220;JavaScript”>document.write(geoip_region());</script> 
But when I upload my site to my server and view it, the part where the GeoIP script is supposed to be is black.

Is there something I'm missing or doing wrong?? I've made sure that my page is .php as well.
#geoip #script #work
  • Profile picture of the author tooAlive
    Thanks to the WarriorForum for answering my own question.

    Apparently the code I was using had some different characters for the quotation marks. Which is why the code above appears as “ (&8220) instead of using the actual " marks.

    I wouldn't have noticed had I not entered the code on here.

    Problem solved. Thanks!
    Signature
    <img src="$2,387.44-clickbank-check.jpg">

    "Action is the real measure of intelligence." - Napoleon Hill
    {{ DiscussionBoard.errors[8078977].message }}

Trending Topics