How to get client IP address?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Don

    How to get client IP address?

    How can I get the client's IP address from within an HTML page using embedded JS?

    Thanks for your help,
    Don

    ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
    ----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  • David Dorward

    #2
    Re: How to get client IP address?

    Don wrote:
    [color=blue]
    > How can I get the client's IP address from within an HTML page using
    > embedded JS?[/color]

    You can't.

    --
    David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is

    Comment

    • Randell D.

      #3
      Re: How to get client IP address?

      Don wrote:
      [color=blue]
      > How can I get the client's IP address from within an HTML page using embedded JS?
      >
      > Thanks for your help,
      > Don
      >
      > ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
      > http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
      > ----= East and West-Coast Server Farms - Total Privacy via Encryption =----[/color]

      You can't... and the folk who do manage it use something like ASP or a
      server side language like Perl or PHP... If you use ASP, it will only
      work on IE browsers...

      randelld

      Comment

      • Alvaro G Vicario

        #4
        Re: How to get client IP address?

        *** Randell D. wrote/escribió (Thu, 17 Mar 2005 08:23:20 GMT):[color=blue]
        > You can't... and the folk who do manage it use something like ASP or a
        > server side language like Perl or PHP... If you use ASP, it will only
        > work on IE browsers...[/color]

        ASP *is* a server-side language.


        --
        -- Álvaro G. Vicario - Burgos, Spain
        -- Don't e-mail me your questions, post them to the group
        --

        Comment

        • Evertjan.

          #5
          Re: How to get client IP address?

          Randell D. wrote on 17 mrt 2005 in comp.lang.javas cript:[color=blue]
          > If you use ASP, it will only work on IE browsers...[/color]


          What nonsense.

          ASP is serverside and the output is as browser independent as any other
          page.

          --
          Evertjan.
          The Netherlands.
          (Replace all crosses with dots in my emailaddress)

          Comment

          • Don

            #6
            Re: How to get client IP address?

            I suppose I should post this on the PHP group, but since I started her, how is it done in PHP on
            the server?

            Thanks, Don

            ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
            http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
            ----= East and West-Coast Server Farms - Total Privacy via Encryption =----

            Comment

            • Michael Winter

              #7
              Re: How to get client IP address?

              Don wrote:
              [color=blue]
              > I suppose I should post this on the PHP group, [...][/color]

              You have, so wait for your responses there, please.

              Mike

              --
              Michael Winter
              Replace ".invalid" with ".uk" to reply by e-mail.

              Comment

              • Lee

                #8
                Re: How to get client IP address?

                Don said:[color=blue]
                >
                >I suppose I should post this on the PHP group, but since I started her, how is
                >it done in PHP on
                >the server?[/color]

                Yes, you should post this to a PHP group.
                But you should also be aware that the IP address may be useless to you.
                Some people have a different IP address every time they connect.
                Others share a proxy IP address with hundreds of other people.

                Comment

                • Don

                  #9
                  Re: How to get client IP address?

                  Thanks everyone. I appreciate all your help.

                  Regards,
                  Don

                  ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
                  http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
                  ----= East and West-Coast Server Farms - Total Privacy via Encryption =----

                  Comment

                  Working...