Capture IP on web form

Z

Zen Masta

I've been getting a lot of harrassment emails on a web form recently and I
want to display/capture the users IP/host header(not sure if thats the right
term... but I know you can do it in IRC) if possible. Does anyone know a
free script for this? The form is in ASP not .net

I want to amend my form so it displays the IP/hostheader similarly to this
page.
http://www.schoolpad.net/page.php?TeacherID=293&Page=3
 
V

vicky

Hi Zen,

You can get Ip address by using the following code.

<%
response.Write request.ServerVariables("remote_host")
%>

Is it not simple.

:)

vicky
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top