#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