Recommend this page to a friend! |
Download .zip |
Info | View files (2) | Download .zip | Reputation | Support forum (2) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2002-11-23 (13 years ago) | Not enough user ratings | Total: 1,189 | All time: 3,075 This week: 1,090 |
Version | License | Categories | ||||
urlmatch 1.0 | GNU General Publi... | Text processing |
Description | Author | |||||||||||||
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() ) |
|
Files |
File | Role | Description |
---|---|---|
class.urlmatch.php | Class | class source |
_test.urlmatch.php | Test | test script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
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. |
If you know an application of this package, send a message to the author to add a link here.