Unstoppable Domains

BBCode Class

Spaceship Spaceship
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.
.US domains.US domains
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
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Domain Recover
DomainEasy — Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back