Login   Register  
PHP Classes

UBBCode: Replaces the ubb tags with HTML, and vice versa

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of L
Name: L <contact>
Classes: 13 packages by
Country: Germany Germany
Age: 39
All time rank: 486 in Germany Germany
Week rank: 405 Down15 in Germany Germany Down

  Detailed description   Download Download .zip .tar.gz  
Replaces the UBB tags listed below with HTML tags, and vice versa.
Also keeps the line feeds in the text and removes all HTML tags.

UBB Tags:
[b]...[/b] bold
[i]...[/i] italic
[code]...[/code] source code
[img], [/img] images
[quote]...[/quote] blockquote
[url]http//www.link[/url] links
[url=http//www.link]name[/url] links
[email]me@home.de[/email] email link
[email=me@home.de]name[/email] email link

Additional Tags:
[u]...[/u] underline
[center]..[/center] center
[color=name]...[/color] colors

For a description of ubbcodes see: http://community.infopop.net/infopop/ubbcode.html

function encode($str)
function decode($str)
function strip($str)
function listCodes()

  Classes of L  >  UBBCode  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: UBBCode
Base name: ubb
Description: Replaces the ubb tags with HTML, and vice versa
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 2552 users
All time rank: 1376
Week users: 0 users
Week rank: 2398 Equal
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

Group folder image HTML HTML generation and processing View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Perfect (100%) Sufficient (70%) Sufficient (70%) Good (85%) - - Sufficient (72%) 125
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
Rate me
Rate this class @ Hotscripts

  Files folder image Files  
File Role Description
Accessible without login HTML file testUBBCode.html Output example output
Accessible without login Plain text file testUBBCode.php Example example
Accessible without login HTML file UBBCode.html Doc. phpdoc
Plain text file UBBCode.php Class main class

Download Download all files: ubb.tar.gz ubb.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.