796 shaares
Constants play an important role for writing different PHP scripts. I believe, it is very good and professional approach to design any PHP script in a way that can easily be configured on different environments like Linux or Windows – and it can easily be achieved by defining useful constants in “config.php” or any other file depending on the script nature.