Version of script: 1.43
Hosting company: godaddy
What terms did you try when SEARCHING for a solution: maxlength
I am having trouble with gbook spam, and I know the number one thing I should do to fix it is to upgrade to version 1.5. However, I will not have time to do that for another month or two. So to put a minor fix on it, I was going to limit the size of the message that can be entered. Currently is it unlimited, and the spammers take full advantage of this and enter page long entries. I added the code
Code: Select all
maxlength="800"
Code: Select all
<p align="center"><b>Comments:</b><br>
<textarea name="comments" rows="9" cols="50" maxlength="800"><?php echo $comments; ?></textarea>