PHP based uri shortening service