Php-MySQL code which shortens the URL length. Hosted on local server.