URL Shortener Tool in PHP