Capturing IP for Form

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

    Capturing IP for Form

    How can I capture the IP address of the submitter
    of a form?

    Deepa :-)



  • Lasse Reichstein Nielsen

    #2
    Re: Capturing IP for Form

    "Deepa" <Tech@NOSPAMa ll-in-one-business.com> writes:
    [color=blue]
    > How can I capture the IP address of the submitter of a form?[/color]

    That depends on what software is running on the server. Since you are
    asking in a Javascript group, I assume the server runs some sort of
    Javascript, so it is probably ISS/ASP+JScript or a Netscape web server
    (e.g., Netscape Enterprise Server).

    If it is ASP, Google tells me that it is:
    Request.ServerV ariables("remot e_addr")
    <URL:http://www.w3schools.c om/asp/showasp.asp?fil ename=demo_serv er>

    If it is a Netscape server, I don't know how to script it, and I can't
    find it with Google in under five minutes :)

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • Deepa

      #3
      Thanks! (DNO) Re: Capturing IP for Form


      "Lasse Reichstein Nielsen" <lrn@hotpop.com > wrote in message
      news:wubokfdm.f sf@hotpop.com.. .[color=blue]
      > "Deepa" <Tech@NOSPAMa ll-in-one-business.com> writes:
      >[color=green]
      > > How can I capture the IP address of the submitter of a form?[/color]
      >
      > That depends on what software is running on the server. Since you are
      > asking in a Javascript group, I assume the server runs some sort of
      > Javascript, so it is probably ISS/ASP+JScript or a Netscape web server
      > (e.g., Netscape Enterprise Server).
      >
      > If it is ASP, Google tells me that it is:
      > Request.ServerV ariables("remot e_addr")
      > <URL:http://www.w3schools.c om/asp/showasp.asp?fil ename=demo_serv er>
      >
      > If it is a Netscape server, I don't know how to script it, and I can't
      > find it with Google in under five minutes :)
      >
      > /L
      > --
      > Lasse Reichstein Nielsen - lrn@hotpop.com
      > Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
      > 'Faith without judgement merely degrades the spirit divine.'[/color]


      Comment

      Working...