maliary Posted November 8, 2007 Share Posted November 8, 2007 Hi, I would like to be deleteing certain records from my database automatically after every 72hrs. I have never tried this before but is it possible to perform actions after a certain duration of time in php ? Link to comment https://forums.phpfreaks.com/topic/76482-timing-events-in-php/ Share on other sites More sharing options...
PHP_PhREEEk Posted November 8, 2007 Share Posted November 8, 2007 If there is a php file in your website that is used fairly regularly, then yes. If not, then you would need to use a CRON server-side job. The records in your database must have a time stamp (preferably a UNIX timestamp, which is easiest to work with for this type of job). PhREEEk Link to comment https://forums.phpfreaks.com/topic/76482-timing-events-in-php/#findComment-387371 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.