Jump to content

creating trial period accounts. Timstamp for expire time?


blesseld

Recommended Posts

Hey All,

 

I want to create a trial period for my site,  I buil;t my own members script and just curious what the best way to implement this limitation.  I was thinking of adding a time stamp or something then do a check with the date.  Would that be a good way or is there an easier way with time in general?  I have never done this so any suggestion would be greatly appreciated.

 

Thanks

Your time stamp idea is fine, but you'd have to modify your login script a little bit.

So let's say their timeout timestamp is set to deactivate the account on Jan 1st 2010.

On each logon have the script check that timestamp date with todays date, and if it's past it, deactivate the account, otherwise proceed with login.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.