PHP script for makeing links shorter.