PHP: Auto Updating subscriptions?

Posted by Duncan Palmer on Stack Overflow See other posts from Stack Overflow or by Duncan Palmer
Published on 2011-11-13T01:43:23Z Indexed on 2011/11/13 1:50 UTC
Read the original article Hit count: 174

Filed under:

Hey guys I am currently making a website and I am hopefully going to start a premium service for it. What I am currently looking into right now is how to make an "auto updating" shop which removes 1 day from how many days left the user has left on their premium status. so for example if the users purchases 30 days of premium, each day that 30 with negate 1 so.. 30, 29, 28, 27.. etc and then if the days gets to 0 in will remove premium status. The only way I can think of keeping track of this right now is by manually monitoring each persons premium status but that wouldnt be very practical. What would the best way for me to do this? (hopefully "automatically")

Thanks.

© Stack Overflow or respective owner

Related posts about php