PHP Classes

Url short URL dynamic: Create and redirect URL shortcuts

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-18 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,668 This week: 1All time: 2,214 This week: 1,156Up
Version License PHP version Categories  
miniurl 1.0Free for non-comm...3.0HTTP, PHP 5, Content management
Description Author  

This class be used to create and redirect URL shortcuts.

It can create and store in a MySQL database an URL that is a shortcut for a longer URL.

The class can redirect users that access pages of with the URL shortcut to the original URL page.

Innovation Award  
PHP Programming Innovation award nominee
October 2008
Number 6

Prize: Book of choice by Apress
Short URL redirector sites became more popular recently with the event micro-blogging systems like Twitter.

Such systems only allow posting messages of no more than 140 characters in order to fit in the SMS message length limit.

This class allows to implement a short URL site in PHP like TinyURL under any domain.

Manuel Lemos
Picture of Igor Herson Aquino de Franša
Name: Igor Herson Aquino de ... is available for providing paid consulting. Contact Igor Herson Aquino de ... .
Classes: 11 packages by
Country: Brazil Brazil
Age: 32
All time rank: 23815 in Brazil Brazil
Week rank: 152 Up11 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file .htaccess Aux. .htaccess file
Accessible without login Plain text file createUrl.php Example Create URL e data base
Accessible without login Plain text file data.sql Conf. Data Base file
Accessible without login Plain text file header.php Example test script
Accessible without login Plain text file index.php Example test script
Plain text file miniUrl.php Class the class

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,668All time:2,214
 This week:1This week:1,156Up