Page 1 of 1

Big Issue, HTML in chat

Posted: Tue Mar 01, 2005 6:06 pm
by cbrian
I just figured out in the chat room I'm making, you can use HTML to do stuff. How can I disable it?

Posted: Tue Mar 01, 2005 6:13 pm
by The Monkey

Code: Select all

$message = strip_tags($message);

Posted: Tue Mar 01, 2005 6:42 pm
by cbrian
Thanks a lot...we were having some BIG problems.

Posted: Tue Mar 01, 2005 7:15 pm
by feyd
disable :arrow: htmlentities($content, ENT_QUOTES)
remove :arrow: smarter strip tags .. Useful Posts :: Smarter ... stripper