shanenin Posted January 29, 2008 Report Share Posted January 29, 2008 I have a friend who is getting harassing messages from a person. They are using this contact page. My understanding of web design is pretty week. Is their any way he could determine who, or maybe the ip of the computer that is filling out this form?I was hesitant to post the contact page, but since this is a public web site, it seems acceptable Quote Link to post Share on other sites
JSKY Posted January 29, 2008 Report Share Posted January 29, 2008 Whois.net.....mcwilliamshomesllc.com - IP AddressMore Info.How are they getting harassed?FireFox has add-on that will display the whole page in it's HTML format. But I'm not sure which one it is. Quote Link to post Share on other sites
Besttechie Posted January 29, 2008 Report Share Posted January 29, 2008 I'm a little confused here... Is that your friends website? or is someone using that website to contact your friend?If it's your friends website, the best option is do a complete rewrite of the contact form using PHP.With PHP, you can implement something like the following in the contact form script which will display the date, browser, ip address, and hostname. Of course, you do not have to use all of it, but only what you would like.// additional (client) information$body .= "\n\nAdditional (client) information:\n\n" . 'Date = ' . date('Y-m-d H:i') . "\n" . 'Browser = ' . HTTP_USER_AGENT . "\n" . 'IP Address = ' . $_SERVER['REMOTE_ADDR'] . "\n" . 'Hostname = ' . gethostbyaddr($_SERVER['REMOTE_ADDR']) . "\n";Note: you might have to adapt that code slightly to make it work with your code.B Quote Link to post Share on other sites
hitest Posted January 29, 2008 Report Share Posted January 29, 2008 That's a drag, shanenin! If the message from the poster is really bad harassment (criminal behaviour) maybe your friend could contact his ISP or the police and report the post. Quote Link to post Share on other sites
shanenin Posted January 29, 2008 Author Report Share Posted January 29, 2008 The PHP code is what I am looking for. I will pass that info on to him.Thanks for everyones input :-) Quote Link to post Share on other sites
JSKY Posted January 29, 2008 Report Share Posted January 29, 2008 Another way is to add a hit counter. I use RiteCounter and it lets you hide the counter on the page. But it gives all sorts of stats on who is hitting. Quote Link to post Share on other sites
shanenin Posted January 29, 2008 Author Report Share Posted January 29, 2008 Another way is to add a hit counter. I use RiteCounter and it lets you hide the counter on the page. But it gives all sorts of stats on who is hitting.That may be an easier solution then rewriting the webpage. I will check into that. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.