is there a way to clear a file like every five minets or so like when people asses the code if it has been more than five minets since last view it will clear it.
Printable View
is there a way to clear a file like every five minets or so like when people asses the code if it has been more than five minets since last view it will clear it.
Use another file to store the time each time the file is accessed. When you open it, read the time, if it's been five minutes, erase the file, then print the new time.
i thought of that to and thats what i want to do one proble i dont know how could you give me some code to do it