A  php script which takes a long url as an input and outputs a short url.