PHP Classes

untiny: Determine the pages where short URLs lead

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 376 All time: 6,755 This week: 673Up
Version License PHP version Categories
untiny 1.0Freely Distributable3HTTP


This class can be used to determine the pages where short URLs lead.

It accesses the page of a given short URL and checks if it redirects to another URL.

The class returns the final URL if the initial URL redirects to another page.

Innovation Award
PHP Programming Innovation award nominee
April 2009
Number 10

Prize: One book of choice by Packt
URL shortening sites became very popular again, thanks mainly to the Twitter phenomenon.

The problem of using shortened URLs is that users do not know in advance where exactly the links point.

This class provides a simple solution to determine the redirection URL regardless of the short URL service that is used.

Manuel Lemos
Picture of James Hinds
Name: James Hinds <contact>
Classes: 2 packages by
Country: United States United States
Age: ???
All time rank: 3358449 in United States United States
Week rank: 214 Up30 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file untiny.php Class class file with usage example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,755
This week:673Up
 User Ratings  
 All time