Jump to content

time / cron


ghqwerty

Recommended Posts

so im wanting to add a bit of reality to my website and i dont know what to use or where to look for decent tutorials on it

 

what im wanting to do is have a limit on stuf, say extortions so that a user can only do it 1 every , say, 24 hours

 

could someone please explain to me what i ahve to learn and show me a good site for a tutorial of this

 

thanks a million

Matty

Link to comment
https://forums.phpfreaks.com/topic/130094-time-cron/
Share on other sites

Err, what you just asked has nothing to do with cron.  All you have to do is add a last_action column or whatever and store a time, and then if that time isn't more than 24 hours before the current time, they can't perform whatever action they are trying to do.

Link to comment
https://forums.phpfreaks.com/topic/130094-time-cron/#findComment-674531
Share on other sites

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.