Follow-up to Hacker problem
| From: | Pag | Date: | Wed, 12 Mar 2003 22:42:21 +0000 |
| Subject: | Follow-up to Hacker problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139411@lists.php.net to get a copy of this message | ||
Your tips were nice, guys, thanks a lot. I tried a few things and i decided to go for making all the checks server side, cant go safer than that.
Just have a doubt on one of the checks, at least so far.
I have a check for long words, because the shoutbox is in a IFRAME, so if someone posted a long word, the infamous horizontal scroll bar would appear. How can i check for long words on a string and remove them before they get written on the DB?
Thanks.
Pag