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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3f95b-43323.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3f95b-43323.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?