I would like a simple PHP script with the possibility to (I am running Ubuntu [url removed, login to view]) :
- Start a process, save the pid in a txt document/sql table, then a button for killing the pid (kill -9 pid for example)
- I would also like to know (demonstrate it in the script) how to read, and do changes to a txt file on the server (for example with the nano command).
- Easy to understand documentation for a basic/beginner programmer
- I would like the project within 2 hours.
No design required.