My guess would be a regex replace function. The latest version of Phorum has this capability. You could grab the source form phorum.org and have a look.
> -----Original Message----- > From: Tony Harrison [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 2:23 PM > To: [EMAIL PROTECTED] > Subject: [PHP] FORUM CODE > > > Hi, im wondering how in popular forum software, those 'BB codes' > are done in > PHP, like, [B] and stuff. I just cant figure it out. > > ----------------------------- > [EMAIL PROTECTED] > http://www.cool-palace.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php