Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Detecting IP and sending to webmaster

Posted on 1999-01-16
5
Medium Priority
?
170 Views
Last Modified: 2010-04-09
I run a local website and often I get death threats and unnecessary messages which constitute notification of the ISP. I would like to know how I can set a cookie when the guestbook is signed (if necessary), somehow find the IP, and send the name entered in the "Name" field with the IP of the visitor to my email. I would really like just a long bit of code that would do this that I can put in the page used for signing. Please help, this is urgent. I'm giving all of my points to whoever can do this.
Thanks,
SuperMario
0
Comment
Question by:SuperMario
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1845370
What kind of server are you on?

0
 
LVL 3

Author Comment

by:SuperMario
ID: 1845371
It is run on Angelfire (I believe they allow CGI?)
0
 
LVL 8

Expert Comment

by:jhurst
ID: 1845372
How are the threats being passed to you?  Are they being posted into a guestbook or sent to you as eMail?
0
 
LVL 3

Author Comment

by:SuperMario
ID: 1845373
Both, actually. They are more prevalent in the guestbook.
0
 
LVL 8

Accepted Solution

by:
jhurst earned 60 total points
ID: 1845374
Well, if the problem is eMail you should know where it came from but you can certainly look at the headers and get a pretty good idea.  

In the guestbook, it would seem unlikely that the guistbook does not record ip-addresses.  If it is written in perl as most of them are then you just need to look at and record the environment variable:
REMOTE_ADDR

If this I am missing something then please post the url of the page so we can understand your problem a little better.

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question