HighDots Forums  

Capturing IP for Form

Javascript JavaScript language (comp.lang.javascript)


Discuss Capturing IP for Form in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deepa
 
Posts: n/a

Default Capturing IP for Form - 10-01-2003 , 12:44 PM






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

Deepa :-)




Reply With Quote
  #2  
Old   
Lasse Reichstein Nielsen
 
Posts: n/a

Default Re: Capturing IP for Form - 10-01-2003 , 02:00 PM






"Deepa" <Tech (AT) NOSPAMall-in-one-business (DOT) com> writes:

Quote:
How can I capture the IP address of the submitter of a form?
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.ServerVariables("remote_addr")
<URL:http://www.w3schools.com/asp/showasp.asp?filename=demo_server>

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 (AT) hotpop (DOT) com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'


Reply With Quote
  #3  
Old   
Deepa
 
Posts: n/a

Default Thanks! (DNO) Re: Capturing IP for Form - 10-01-2003 , 02:46 PM




"Lasse Reichstein Nielsen" <lrn (AT) hotpop (DOT) com> wrote

Quote:
"Deepa" <Tech (AT) NOSPAMall-in-one-business (DOT) com> writes:

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

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.ServerVariables("remote_addr")
URL:http://www.w3schools.com/asp/showasp...me=demo_server

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 (AT) hotpop (DOT) com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html
'Faith without judgement merely degrades the spirit divine.'



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.