FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


code showoff: LF2 Extendable BBcode parser(LF2EBB)





Mgccl
developed with part of the regex from
http://www.isolated-designs.net/core/projects/27/php-bbcode-functions

it is extendable... it contains mainly 3 parts:
1. Simple BBcode, like b, i, u, the ones that does not need to get things from inside...
2. Complex BBcode, like URL, the ones that you need to use the values inside the BBcode
3. Functional BBcode, these ones are mods, noramlly, there will do some operation on the value inside the BBcode(like the code one.. used Geshi parser)

and here is it's first release...
see demo here....
http://lf2.l2p.net/bbcode
to download, go to
http://lf2.l2p.net/bbcode/bbcode.zip

try it... find mistakes, and make suggestions... I feel like mine thing are super insecure(and slow.... it took about 0.05 seconds to parase everything in the demo on my own machine...)
Related topics
PHP - BBcode Parsing
Script for text area with html support
UBB Code / Smiley Parsing
FriHost PHP Parser doesn´t work?
BB Codes
BBCode Unleashed
BBCode Unleashed
Help me in CSS
Variable width div
uncoded code ! :P
PHP code showoff - Weighted Random
need help with bbcode.....
GlacierBoard 0.5 Beta!
preg_replace Problem
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.