RE: [PHP] how to auto delete by PHP+MYSQL in a given time?

From: Date: Thu, 08 Nov 2001 04:49:29 +0000
Subject: RE: [PHP] how to auto delete by PHP+MYSQL in a given time?
Groups: php.general 
Request: Send a blank email to php-general+get-73837@lists.php.net to get a copy of this message
How about setting up a cron job/schedule that runs every so often that runs a php script. This script would then do a "delete where date < now - offset" type of sql statement. -----Original Message----- From: Web user [mailto:random11@telekbird.com.cn] Sent: Thursday, November 08, 2001 3:43 PM To: php-general@lists.php.net Subject: [PHP] how to auto delete by PHP+MYSQL in a given time? A new user sign up an account, but don't activate it in a given time, So his sign-up record need to be deleted from the db. Can I use PHP+MYSQL to delete it automatically in a given time, if yes, could you please tell me how? Regards Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#73837) next »