I am having some problem with form validation. I know how to limit the number of characters entered into my form fields using the maxlength in HTML, BUT, if someone saves the form to their HD, strips out those HTML limiters and re-posts the form with loads of data in the fileds, the processor usage on the webserver is eaten up totally.
any ideas of how to resolve this?
Heres the line
$strsubject = "<input class=formfield type=text size=35 maxlength=255 name=subject value=\"".htmlspecialchars(stripslashes($subject))."\">";