PHP Classes

untiny: Determine the pages where short URLs lead

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 376 All time: 6,758 This week: 673Up
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
Innovation award
Innovation award
Nominee: 1x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:376
This week:0
All time:6,758
This week:673Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:39%StarStar
Rank:3958