robert_gsfame Posted July 19, 2010 Share Posted July 19, 2010 How can i countdown time but not depend on user's browser..thx anyone got a clue?? Link to comment https://forums.phpfreaks.com/topic/208154-countdown-time/ Share on other sites More sharing options...
Wolphie Posted July 19, 2010 Share Posted July 19, 2010 Do you mean a counter on a website that counts down while you're on the page? If so, this can only be achieved in JavaScript/Flash or Java. Link to comment https://forums.phpfreaks.com/topic/208154-countdown-time/#findComment-1088052 Share on other sites More sharing options...
timvdalen Posted July 19, 2010 Share Posted July 19, 2010 Do you mean a counter on a website that counts down while you're on the page? If so, this can only be achieved in JavaScript/Flash or Java. Which are all client-sided. In short, this is not possible. Long answer: It is possible, but it's hassle. You could create a row in a db with a time value of creation and an IP. Display 10 - (now-time value) everytime that IP loads the page. Use a meta refresh set to 1 or anything smaller. Not really useful, but it will kinda work. Link to comment https://forums.phpfreaks.com/topic/208154-countdown-time/#findComment-1088065 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.