#The most simple PHP url shortner!
This code uses tinyurl.com to short urls, so thanks to the cretor of the awesome site.
Looking for a JS version? Go here: https://gist.github.com/StephanStanisic/b7017b1a8cd3c785e332. I also have a PHP version there (one line!).
##Usage:
tinyurl("http://google.com")
returns http://tinyurl.com/2tx
tinyurl("http://github.com")
returns http://tinyurl.com/2lekkm
##Sample application