On Mon, Jan 12, 2009 at 10:42 AM, <ceo@xxxxxxxxx> wrote: > > Google for BBCode. > > It's just str_replace(array('[b]','[/b]'),array('<b>','</b>'),$text) in the end. > > And it's not really going to be any better than just letting them type <b> and </b> if that is needed. > > Your sanitization process will be the same no matter what, and will have the same flaws/risks either way. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Just to add to the discussion: http://kore-nordmann.de/blog/why_are_you_using_bbcodes.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php