here is 7 http://www.webresourcesdepot.com/7-open-source-and-free-url-shortener-scripts-to-create-your-own/ Thanks
There is Script: briancray.com /2009 / 08 / 26 / free-php-url-shortener-script . You can download the script as a zip file, but I prefer you should understand the code first if you want to change it you can do it easily.