Using the Tinyurl API
Lately I've had a need to use the Tinyurl.com API. The API has been usefull for a couple of things since I started using it.
Shortening URL's
This is obviously the intended purpose of the Tinyurl API. With a very simple function you can shorten urls very easily. This function passes the url to the Tinyurl API which shrinks it and then it is pulled back using file_get_contents()