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
StarStarStar 41%Total: 375 All time: 6,747 This week: 732Up
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: 3351448 in United States United States
Week rank: 641 Up75 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:375
This week:0
All time:6,747
This week:732Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:41%StarStarStar
Rank:2980