Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    country & phone number

    i trying to make statistics in my site , i need to know some information about client

    1- which country the client is there (the country he select it in time zone).

    2-and the phone number he dialed if he dial up to connect to the internet.

    3- his ip address

    4- his reigon code

    i don't know is it possible or it done by server side or client side

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    To get this is possible with javascript, but to record the info you'd need a serverside language.

    Numbers 2 and 4, I don't think you will be able to get. Not without installing some program on the users PC to transfer that info to you
    Last edited by Nightfire; 12-28-2003 at 02:36 AM.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Your web server software should be capable of creating log files which can contain all the information you can get about a client. The phone number the client used is not going to be a part of that information. You can get the user's time zone and IP address both of which can be used to get an idea of where the user's at. Tools like WebTrends http://www.netiq.com/webtrends/ can be used to mine that information.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok , can u give me code for number 1 & 3 or url have some tutorial
    , i know there are many tools doing it but i need to build it myself.

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    338
    Thanks
    0
    Thanked 0 Times in 0 Posts
    As far as I know, you can only obtain the IP address with a server-side language. Once you obtain it you could use something like an IP address locator. When searching on Google, I came up with this site: http://www.geobytes.com/GeoSelect.htm.

    Hope that helps!

    Happy coding!


  •  

    Posting Permissions

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