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
it is possible... But you will need basic PHP skills.
Use fopen or file_put_contents. Easiest way is to write whole PHP file from scratch...
fopen
file_put_contents