Login   Register  
PHP Classes
elePHPant
Icontem

Shorten url: Shorten and expand URLs using different services

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-02-28 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 475 This week: 1All time: 5,414 This week: 1,453Up
Version License PHP version Categories  
shortenurl 1.0GNU General Public Lice...5.0PHP 5, Web services
Description Author  

This class can be used to shorten and expand URLs using different services.

It can send HTTP requests to the Web services API servers of different URL shortening services to perform either shortening (or expanding in the case of some of the services) of given URLs.

Currently it supports the URL shortening services: tinyurl.com, bit.ly, cli.gs, goo.gl, kl.am, is.gd, tr.im .

Picture of Carlos Miguel Guevara
Name: Carlos Miguel Guevara <contact>
Classes: 3 packages by
Country: Mexico Mexico
Age: 32
All time rank: 3434 in Mexico Mexico
Week rank: 777 Down12 in Mexico Mexico Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Example of usage
Plain text file shortenurl.class.php Class Main class
Accessible without login HTML file shorturl_documentation.html Doc. The single file documentation

 Version Control Unique User Downloads Download Rankings  
 0%Total:475All time:5,414
 This week:1This week:1,453Up