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 This week: 1All time: 6,755 This week: 560Up
Version License PHP version Categories
untiny 1.0Freely Distributable3HTTP
Description 

Author

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: 3353450 in United States United States
Week rank: 416 Up46 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  
 0%
Total:376
This week:1
All time:6,755
This week:560Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3878