AXiSS Posted April 23, 2007 Share Posted April 23, 2007 I'm lost as to how. I want to restrict users to only using certain html tags, such as a, b, i, and u, and for certain special purposes only embed. Can someone enlighten me, please? Quote Link to comment Share on other sites More sharing options...
clown[NOR] Posted April 23, 2007 Share Posted April 23, 2007 you wanna read about strip_tags() Quote Link to comment Share on other sites More sharing options...
AndyB Posted April 23, 2007 Share Posted April 23, 2007 http://ca.php.net/manual/en/function.strip-tags.php strip_tags can take an 'allowable tags' argument which can do what you ask. Quote Link to comment Share on other sites More sharing options...
AXiSS Posted April 23, 2007 Author Share Posted April 23, 2007 Thank you very much for your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.