PHP Classes

Url short URL dynamic: Create and redirect URL shortcuts

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 30%Total: 1,712 All time: 2,294 This week: 134Up
Version License PHP version Categories
miniurl 1.0Free for non-comm...3.0HTTP, PHP 5, Content management


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: 41
All time rank: 22614 in Brazil Brazil
Week rank: 371 Down25 in Brazil Brazil Down
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  
This week:0
All time:2,294
This week:134Up
 User Ratings  
 All time