I have a form that saves the data to a .txt
file. I would like to know if you can create a warning to know when new content is registered in this .txt
through PHP .
I have a form that saves the data to a .txt
file. I would like to know if you can create a warning to know when new content is registered in this .txt
through PHP .
What you can do is use a Linux Cron and run it every x minutes or seconds and then you check the file. You can do this manually or use some component like this: link
OR
If this txt is edited by some other program, you can create an API with PHP where the program that edited the txt sends a message saying that it has edited the file.