Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Based on the code you have added, I suspect you are looking for a file based approach.</p> <p>Nevertheless, as stated in the comments, it would also be good to have a database such as MYSQL to store your data.</p> <p>Additionally, in your tags and question you don't specify important information such as: on which operating system.</p> <p>Neverthess less, based on your code that your creating files, here are resources related to deleting files created after X amount of time:</p> <ul> <li><a href="https://stackoverflow.com/questions/51054/batch-file-to-delete-files-older-than-n-days">Batch file to delete files older than N days</a></li> <li><a href="http://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/" rel="nofollow noreferrer">http://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/</a></li> <li><a href="https://stackoverflow.com/questions/249578/how-to-delete-files-older-than-x-hours">How to delete files older than X hours</a></li> <li><a href="https://stackoverflow.com/questions/8965778/the-correct-way-to-delete-all-files-older-than-2-days-in-php">The correct way to delete all files older than 2 days in PhP</a></li> </ul> <p>And also related to scheduled tasks and cron:</p> <ul> <li><a href="http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/" rel="nofollow noreferrer">http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/</a></li> <li><a href="http://windows.microsoft.com/en-sg/windows7/schedule-a-task" rel="nofollow noreferrer">http://windows.microsoft.com/en-sg/windows7/schedule-a-task</a></li> <li><a href="http://support.microsoft.com/kb/308569" rel="nofollow noreferrer">http://support.microsoft.com/kb/308569</a></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload