I am building a system which allows users to post data.  I want to allow
them to use ONLY certain tags such as <p>, </p>, <b>, </b>, <i>, </i>,
etc...  I want to allow them to use only these, and then strip out ALL
attributes inside the tags.  So if they input something like <p junk=junk>,
it would switch it to just <p>.  Anyone know of a way this can be done?

Thanks,

Matt Palermo
http://sweetphp.com

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

Reply via email to