Jump to content


Automatic Deletion (MySQL Data)

  • Please log in to reply
2 replies to this topic

#1 xRhysx

  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 01 January 2006 - 05:15 AM

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.

#2 Drumminxx

  • Members
  • PipPipPip
  • Advanced Member
  • 92 posts
  • LocationUSA

Posted 03 January 2006 - 11:49 PM

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
:: gucci.com ::
:: blockbuster.com ::


#3 degsy

  • Members
  • PipPip
  • Member
  • 20 posts

Posted 05 January 2006 - 01:54 PM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users