Big Issue, HTML in chat

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cbrian
Forum Commoner
Posts: 97
Joined: Sun Feb 27, 2005 12:29 pm

Big Issue, HTML in chat

Post 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?
The Monkey
Forum Contributor
Posts: 168
Joined: Tue Mar 09, 2004 9:05 am
Location: Arkansas, USA

Post by The Monkey »

Code: Select all

$message = strip_tags($message);
cbrian
Forum Commoner
Posts: 97
Joined: Sun Feb 27, 2005 12:29 pm

Post by cbrian »

Thanks a lot...we were having some BIG problems.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

disable :arrow: htmlentities($content, ENT_QUOTES)
remove :arrow: smarter strip tags .. Useful Posts :: Smarter ... stripper
Post Reply