Almost every good PHP application will be need to access some global values at some point. Constants are a programming pattern that you can access anywhere, at anytime and be sure that it won’t be overwritten. You will find this universal concept in almost every programming language. In this article, I will consolidate some great tips for working with constants in PHP and the specifics to keep an eye on. All about constants.

This basic article will show you how to get values out of the URL with PHP. See the code.