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

[ASK] any code that I can use on html site that shows user location?

Discussion in 'Web Design' started by makingfastcash22, Apr 5, 2011.

  1. makingfastcash22

    makingfastcash22 Senior Member

    Joined:
    Feb 15, 2009
    Messages:
    1,152
    Likes Received:
    178
    Home Page:
    I am looking for a way to have a message that says where the user is coming from, Like Welcome Houston Visitor.

    I know there is a way to do it, but I lost the theme that had the code in it.

    Any ideas?
     
  2. data84

    data84 Junior Member

    Joined:
    Apr 20, 2010
    Messages:
    174
    Likes Received:
    30
    Thats a really good question, now you have me wondering the same thing
     
  3. makingfastcash22

    makingfastcash22 Senior Member

    Joined:
    Feb 15, 2009
    Messages:
    1,152
    Likes Received:
    178
    Home Page:
    I say it in a wordpress theme a long time ago called the instigator theme..

    So when people came to the site it always said something about the city they were in.

    I will do some more digging.. If I find it I will post it. :)
     
  4. bigdaddy

    bigdaddy Newbie

    Joined:
    Nov 28, 2007
    Messages:
    29
    Likes Received:
    623
    Occupation:
    Copywriter, speaker, Daddy...and professional bum.
    Location:
    East Coast of the USA.
    Hey makingfastcas22,

    Sure! I know a decent snippet of code that'll work for you.

    Try this out where you want it to show the city & state of their IP address:

    Code:
    <script src="http://promos.fling.com/geo/txt/location.php"></script>
    See if that works for ya!