Stephen Groom Taking a shot at becoming a Poker Pro

25Apr/080

PEAR extension BBCODE

I am using this extension for the site basically because I am lazy and have already became shocked at the amount of code being used for simple features included in every blog.

The extension installed with little or no troubles using the 'pear' command

[i]# pear install bbcode[/i]

The documentation for this extension however is a little vague.. I used examples taken from [url]http://www.php.net/bbcode[/url] and basically added my own changes to make the code behave the way I wanted.

If I was to do this again (which I probably will in the near future anyway) I would make a class of my own to do the work as the bbcode extension is probably a little too complex and doesn't implement some of the features I would expect it to. .

View my current bbcode source code [url=http://blog.groomi.net/sources/bbcode.php]at this link[/url] [i]note- This is very unfinished and only uploaded so you can learn from it[/i]

Share
Filed under: PHP Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.