Jump to content

php time help


Guest

Recommended Posts

Record the click time of the button somewhere (sessions or database).  Every time they click, check to see if there's a previous click from them less than 24 hours ago.

 

The session will expire when they close their browser, and the database must be linked to their account somehow (unless this button is global and can only be clicked by anyone once a day.

 

-Dan

Link to comment
https://forums.phpfreaks.com/topic/220831-php-time-help/#findComment-1143647
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.