[PHP] Countdown in PHP

2001-04-24 Thread george
i need to use PHP to countdown to a certain date, and display the output as time left:days, hours, minutes, seconds The countdown coule be done with javascript, but however it must be done client side TIA -- george chiefmonkey@my_pantswisemonkeydesign.co.uk remove my_pants to reply

Re: [PHP] Countdown in PHP

2001-04-24 Thread george
I mean server side. What i thought icould do was use a cookie time() but how do I extract the value and display it as day hour minute second format and also how do I change the value of the cookie to reflect the different times someone will log on. For instance by setting the cookie

Re: [PHP] Countdown in PHP

2001-04-24 Thread Phillip Bow
Its easy enough to display a time and have it count down each time someone views the page(get a timestamp and hardcode it in, then grab a current timestamp when someone hits the page and compare the two), but if you want a constant countdown updating constantly then it has to be client side. The