Re: Follow-up to Hacker problem
| From: | Ernest E Vogelsinger | Date: | Thu, 13 Mar 2003 08:56:02 +0000 |
| Subject: | Re: Follow-up to Hacker problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139460@lists.php.net to get a copy of this message | ||
At 23:42 12.03.2003, Pag said:
--------------------[snip]--------------------
> 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?
--------------------[snip]--------------------
Check the archives - within the last 2 days there was a thread about
breaking up long words to avoid inappropriate posts to clutter the page layout.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/