On my site is a guestbook. It is set to send whatever is submitted to a custom thingy.
Every single day I have to log on to Freeservers and delete loads of crap that (I suspect) one person kleeps on submitting.
I was wondering if it would be possible to log their IP somehow, see if it is the same person, and if it is then somehow stop them viewing my site. I don't know if it will work but, heh, you can't blame me for trying.
If it is possible to create an IP log then I would like to know how...hopefully to send the IP address to an email address of mine (as well as showing it on the guestbook).
If it's not possible then what other things can I do to stop them signing the guestbook?? It seems that they submit every couple of seconds or so in a certain time period, so I'm suspecting it may be some kind of bot.
Any ideas??
Here's the code for the guestbook btw, it's a standard freeservers one:
Code:
<table border=0 cellpadding=2 cellspacing=0 width="600">
<tr><td align=right width="238">Your name...</td><td width="372">
<input type=text size=40 name=guest_name value='' maxlength=999></td></tr>
<tr><td align=right width="238">Your e-mail address...</td><td width="372">
<input type=text size=40 name=guest_email value='' maxlength=999></td></tr>
<tr><td align=right width="238">Your site address...</td><td width="372">
<input type=text size=40 name=guest_URL value='http://' maxlength=999></td></tr>
<tr><td valign=top align=right width="238">Any Comments???</td><td width="372">
<textarea name=guest_comments rows=10 cols=44 wrap=virtual></textarea></td></tr>
<tr><td align=right width="238">So...</td><td width="372">
<input type=text size=40 name=guest_opt1 value='' maxlength=999></td></tr>
<tr><td align=right width="238">What are your views on...things???</td>
<td width="372">
<input type=text size=40 name=guest_opt2 value='' maxlength=999></td></tr>
<tr><td align=right width="238">Do you, or have you ever owned a dead duck-billed platypus named Boris???</td>
<td width="372">
<input type=text size=40 name=guest_opt3 value='' maxlength=999></td></tr>
<tr><td width="238"> </td><td width="372"><input type=submit value='Submit My Information'><input type=reset value=Clear><a href="<A href="http://Home.htm"><input">http://Home.htm"><input type='button' value='Home Page' onClick=location.href='http://lennylendrum.freeservers.com'></a></td></tr>
</table></form>
</font></span></td>
</tr>
</table> |