Javascript & IP

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

    Javascript & IP

    Hello.

    Can javascript identify IP address ?


  • rf

    #2
    Re: Javascript & IP

    Micha¶ wrote:
    [color=blue]
    > Hello.
    >
    > Can javascript identify IP address ?[/color]

    No. This can only be done server side.

    --
    Cheers
    Richard.


    Comment

    • Grant Wagner

      #3
      Re: Javascript & IP

      rf wrote:
      [color=blue]
      > Micha¶ wrote:
      >[color=green]
      > > Hello.
      > >
      > > Can javascript identify IP address ?[/color]
      >
      > No. This can only be done server side.[/color]

      And even then, it only will only tell you the IP address of the
      host that connected to make the request, not necessarily the IP
      address of the computer running the user agent that originally
      made the request.

      Requests from computers behind NAT (Network Address Translation)
      gateways or proxies will all appear to be coming from the same IP
      address.

      --
      Grant Wagner <gwagner@agrico reunited.com>
      comp.lang.javas cript FAQ - http://jibbering.com/faq

      Comment

      Working...