How do I write a reporting machine and then write it on the txt file?

to put it simply,
I can type the word I want to write
in php and then import it into a txt file (no files will be written)
will write all the time, just like log will automatically

how can I do this? (non-frame type)


error_log change the 2nd and 3rd parameters.

< hr > There is a very simple log class in the

document. I simply changed the following code:

  

file_put_contents ($file, $content, FILE_APPEND);
logs generally look for special logging components, such as monolog/monolog

Menu