xRhysx Posted January 1, 2006 Share Posted January 1, 2006 Soon I will be making a membership system for my website. I will be requiring users to activate their accounts incase of a fake email address. I'm not quite sure how to make the users account delete itself within 24 hours if it is not not activated. Like the Invision Power Board does, it asks you to activate your account within 24 hours or it's deleted. Thanks for any help. Quote Link to comment https://forums.phpfreaks.com/topic/3129-automatic-deletion-mysql-data/ Share on other sites More sharing options...
Drumminxx Posted January 3, 2006 Share Posted January 3, 2006 Just write a little function that gets ran everytime someone logs into your site, other members would be helping you with some house keeping and not even know about it. If you need help writing that script, why not first take a shot at it on your own and then ask if you get stummped, it's a great way to learn Quote Link to comment https://forums.phpfreaks.com/topic/3129-automatic-deletion-mysql-data/#findComment-10581 Share on other sites More sharing options...
degsy Posted January 5, 2006 Share Posted January 5, 2006 Also check what you host supports. You could setup a cron job to run every 24 hours which will run the function to check and delete memberships. Quote Link to comment https://forums.phpfreaks.com/topic/3129-automatic-deletion-mysql-data/#findComment-10615 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.