Login   Register  
PHP Classes
elePHPant
Icontem

urlmatch

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

  Author  
Picture of kumar mcmillan
Name: kumar mcmillan <e-mail contact>
Packages: 7 Browse all classes by kumar mcmillan Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 34
All time rank: 14416 in United States United States
Week rank: 485 Down51 in United States United States Down


  Detailed description   Download .zip .tar.gz  
Looks for any URLs in a string of text and matches each one with a customizable <a> tag. Convenient for parsing user input where users are not expected to write HTML. The class finds URLs starting with 'http|https|ftp|www', ignores HTML tags, supports the addition of <a> properties (such as defining a CSS class), and supports a character limit for the displayed link text. I have tested it with many possibilities and it has been revised to support many URL-in-text scenarios but please don't hesitate to report any bugs to my above email address. To-Do: matching email addresses, if the need arises. Currently requires PHP >= 4.1.0 (uses array_key_exists() and foreach() )

  Classes of kumar mcmillan  >  urlmatch  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: urlmatch
Base name: urlmatch
Description: Matches any URLs in a string of text
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1181 users
All time rank: 2801
Week users: 0 users
Week rank: 2363 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

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


  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
Link Description
Magellan Magellan is a powerful CMS (content management system) designed for Ampoliros. It is one of the most commonly used Ampoliros modules and serves as a Web gateway platform for many other Ampoliros modules.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.urlmatch.php Class class source
Accessible without login Plain text file _test.urlmatch.php Test test script

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