So I have a file for constants. I want to let user define them and then edit my .php filr with that global constants (not xml - real PHP file )
With such code for exampl
Using fopen() fwrite() and consorts you can edit any kind of file, including php ones.
fopen()
fwrite()