Can one .PHP file edit another?

前端 未结 8 1894
无人共我
无人共我 2021-02-03 16:12

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

8条回答
  •  北海茫月
    2021-02-03 16:27

    FILE_TO_REPLACE_IN.php:

    SCRIPT_TO_CHANGE_WITH.php:

    ... or something like that.

提交回复
热议问题