Jump to content

Countdown timer?


jushiro

Recommended Posts

JavaScript can be fooled. Use JavaScript to show the user real-time how much time they have left.

 

Start the test by storing time or similar timestamp in a database.

 

At the end of the test, check if time() - 60*60*1.5 ( 60 seconds * 60 minutes * 1.5 hours ) is less than or equal to the original value you stored. If its greater, more than 1.5 hours has elapsed since the first timestamp was stored.

Link to comment
https://forums.phpfreaks.com/topic/249504-countdown-timer/#findComment-1281044
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.