Wednesday, 8 June 2011

Create TinyURL with PHP

Creating a tiny url is so simple, we just need to pass the url as a query string to the following tinyurl api url
e.g   -  http://tinyurl.com/api-create.php?url=http://www.google.com, hitting this in the browser address bar will give the result
http://tinyurl.com/1c2. 
To use cURL for this refer the below url
http://davidwalsh.name/create-tiny-url-php 

No comments:

Post a Comment