Basic Url builder class in PHP