Misc Links
Forum Archive
News Archive
File DB
 

Ads
 

Advertisement
Your text ad could be here for only $12/month!

Click here for more info!

 

Latest Forum Topics
Disable UAC in windows Vista/7/2008
Posted by Red Squirrel
on Jun 24 2009, 1:52:50 pm

IE 8 update error
Posted by rovingcowboy
on Jun 15 2009, 8:18:40 am

77' Chevy Nova
Posted by MikeDB
on Jun 25 2009, 4:36:46 pm

Bought a house
Posted by Triple6_wild
on Jun 15 2009, 3:22:07 am

computer desk chairs/office chairs
Posted by Onykage
on May 08 2009, 9:57:00 am

 



Send spam to: website@xeonlive.com nick@xeonlive.com georgiapeach1241@aol.com
BBcode editor: PHP - The sensible approach
More with bbcode
By Jonathan Street


There was a time a while ago, around the time of these (BBcode editor & BBcode 'parser') two articles, when I thought processing BBcode submitted by a websites users was a complex matter. I thought it required complex regular expressions and even then my solution was far from complete. In truth, as complex as I thought the problem was, in reality it was probably more complex still.

On the other hand I could have handled the problem of dealing with BBcode far more simply by using one of the very good BBcode parser scripts which are already freely available. I became aware of this soon after finishing those articles when I spotted a BBcode parser on the PEAR website. Since then I’ve spotted a couple of other scripts, also available via PEAR.

The first point to note in this article is to check PEAR if you’re starting a new project as you are likely to find a package or two which can cut out at least a part of the project you were about to undertake.

The second point of this article is a brief introduction to using the first BBcode parser I discovered on PEAR.


Next Page
spacer
14005 Hits Pages: [1] [2] [3] 2 Comments
spacer


Latest comments (newest first)
Posted by Streety on August 08th 2006 (13:37)
What can I say richardj, I've learnt a lot since the first two articles.

I've just made a new post on my blog looking in detail at Text_Wiki_BBCode. It has some potential uses but HTML_BBCodeParser would still be my pick.

spacer
Posted by richardj on August 08rd 2006 (18:10)
QUOTE (Red Squirrel @ Aug 2 2006, 07:35 PM)
In truth, as complex as I thought the problem was, in reality it was probably more complex still.





blink.gif

user posted image em319.gif

spacer
View all comments
Post comment

Age of Valor Ultima Online Server

Top Articles Latest Articles
- What are .bin files for? (534188 reads)
- Big Brother and Ndisuio.sys (134447 reads)
- PSP User's Guide (114962 reads)
- SPFDisk (Special Fdisk) Partition Manager (84264 reads)
- Text searching in linux with grep (81988 reads)
- Dynamic Forum Signatures (version 2) (2172 reads)
- Successfully Hacking your iPhone or iTouch (9670 reads)
- Ultima Online Newbie Guide (16531 reads)
- BBcode editor: PHP - The sensible approach (14006 reads)
- The Hitch Hikers guide to "the mouse" (12397 reads)
corner image

This site best viewed in a W3C standard browser at 800*600 or higher
Site design by Red Squirrel | Contact
© Copyright 2009 Ryan Auclair/IceTeks, All rights reserved