Unstoppable Domains โ€” Get your daily AI drops report

BBCode Class

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

-NB-

Formerly ArrayEstablished Member
Impact
3
Check out this BBCode class I've created here. It can parse simple BBCode and other things, such as smilies and bad words.

It's fully PHP, created on a PHP4 server, so it should work fine on standard hosts.

To call it, you simply say something to the effect of:

Code:
$text = $bbc->parse($text);

This will parse everthing.

This is a code to learn from and make use of, but please do not redistribute it without permission from me.

Thanks,
Nick
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Nice, clean, class. Sure people will find it easy enough to add their own BBcodes to the class.
 
0
•••
Thanks, Millar! I'm glad to see this appreciated.

I may release another version of this, since it is kind of difficult for some people to understand REGEX code. The new version should make it easier for people to add their own BBCodes :)

Nick
 
0
•••
great script
thanks
 
0
•••
Truehost โ€” .com domains from $4.99, hosting includedTruehost โ€” .com domains from $4.99, hosting included
Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back