>       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?

We answered this yesterday, weren't you paying attention? Either use
wordwrap() or one of the functions Ernest (I think it was him) or I
posted...

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to