I use the same constant in all my php files. I do not want to assign the value of this variable in all my files. So, I wanted to create one "parameters.php" file and to do the assignment there. Then in all other files I include
the "parameters.php" and use variables defined in the "parameters.php".
It was the idea but it does not work. I also tried to make the variable global
. It also does not work. Is there a way to do what I want? Or may be there some alternative approach?