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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php