Misc Links
Forum Archive
News Archive
File DB
 

Ads
 

Advertisement
Age of Valor - Ultima Online Free Shard
AoS/SE/ML/Custom - advanced code, dedicated staff, peerless bosses, non overpowered customs + much much more
 

Latest Forum Topics
New PC
Posted by Wren
on Apr 27 2012, 2:58:46 pm

PSA: Ensure your forum email address is valid
Posted by MikeDB
on Apr 09 2012, 8:43:16 am

Recipe's
Posted by MikeDB
on Feb 28 2012, 12:54:29 am

My PC is now ancient
Posted by rovingcowboy
on Feb 27 2012, 8:29:26 am

Hey all
Posted by rovingcowboy
on Feb 27 2012, 8:35:12 am

 

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
15913 Hits Pages: [1] [2] [3] 2 Comments
spacer


Latest comments (newest first)
Posted by Streety on August 08th 2006 (14: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 (19: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

RPGBids Your MMO MMORPG Auction Super Site

Top Articles Latest Articles
- What are .bin files for? (50039 reads)
- Text searching in linux with grep (33550 reads)
- SPFDisk (Special Fdisk) Partition Manager (20930 reads)
- Creating your own content management system with php (20495 reads)
- Ultima Online Newbie Guide (19222 reads)
- How to Use MDADM Linux Raid (16136 reads)
- What is Cloud Computing? (15773 reads)
- Dynamic Forum Signatures (version 2) (16140 reads)
- Successfully Hacking your iPhone or iTouch (17299 reads)
- Ultima Online Newbie Guide (19222 reads)
corner image

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