Results 1 to 10 of 10

Thread: IP Address Locater

  1. #1
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default IP Address Locater

    Rather than list all the countries, their states, and major cities I was wondering how "Safe" using a ip address locater is?
    What i'm trying to do is have it so the user does not have to enter their country, state, and city which they live in?
    Is it even worth it to do this? Or safe?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    I wouldn't. With the "cracker and hacker" methods gaining popularity today and tunneling and port mashing and all that as well as proxies and domain piggie backs, you never really know where someone is. If I go to your site and I am tunneling, or piggie backing I may well show up as somewhere in Russia, and then I can't read your site.

    Instead what you can do (somehow I don't know off the top of my head) is to have the fields for zip code (or whatever code to identify their whereabouts)first, and when they enter the number the city, state, country are auto filled in based on a database. They have the option to choose if it is wrong or something but if it is not, it will save them the time you were looking for originally.

    Just an idea.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    k thanks

  4. #4
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    Quote Originally Posted by BLiZZaRD View Post
    I wouldn't. With the "cracker and hacker" methods gaining popularity today and tunneling and port mashing and all that as well as proxies and domain piggie backs, you never really know where someone is. If I go to your site and I am tunneling, or piggie backing I may well show up as somewhere in Russia, and then I can't read your site.
    this shouldn't be a language issue, and if it is then a language bar should be added rather then a zip code tool.

    Instead what you can do (somehow I don't know off the top of my head) is to have the fields for zip code (or whatever code to identify their whereabouts)first, and when they enter the number the city, state, country are auto filled in based on a database.
    I recently created a zip code tool for a site that I am working on and between just the USA and Canada the zip code table was more then 83mb, and included
    post code, city, county, state/province, country, areacode, timezone, utc, dst, latitude, longitude.

    to me that wouldn't be worth it to include the rest of the world.
    It only takes like a minute or two for the user to enter in his / her data, and what you could do is just save the information to a cookie so that upon return the information can be populated automatically.

    safe? I dont really know how unsafe it would be, because you are just using public information that is already available at many sources. as long as you are just trying to get city/province/country/zip? there really is nothing that could be deemed hazardous in my eyes.

  5. #5
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    this shouldn't be a language issue, and if it is then a language bar should be added rather then a zip code tool.
    True, but he never said what he wanted to do with the info. Take MSN or hotmail for example. If you sign up and tell them your area is somewhere in Slovakia, then that is the language you get for everything MSN on your PC. Funny.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  6. #6
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    that is because they have the languages set up that way. By default their site is set up for English (American) however its possible to change language and stay that way so long as you do not clear your cookies.

    I know that its not right to make these such assumptions but providing the language selector is always more accurate then some type of IP LookUp. Although there is alot more that goes into creating a multi-lingual site then an language selector.

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It's safe to do use an IP lookup to set defaults. Just make sure the user can change it if it's wrong.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    There is an old thread on this subject that does just that.
    http://www.dynamicdrive.com/forums/s...ad.php?t=15036
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  9. #9
    Join Date
    Jan 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Rockonmetal View Post
    Rather than list all the countries, their states, and major cities I was wondering how "Safe" using a ip address locater is?
    What i'm trying to do is have it so the user does not have to enter their country, state, and city which they live in?
    Is it even worth it to do this? Or safe?
    Safe? why bother when you can use an external website that won't log users queries. Besides that, the public info about any ip address will be always visible online. I always used this ip lookup tool and never had problems.

  10. #10
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    That's not quite what was meant by 'safe' here. It was more about accuracy, and the chances that a user will get stuck labelled with the wrong location.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •