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
only way around this would be to throw in a meta refresh tag set to refresh
every second.  This is not a viable option obviously, and technically it
would still be a client side alteration.  You said the countdown could be
done with Javascript which is a client side technology, and is what should
be used to do this.
--
phill

"george" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>  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 someone will have access for 3 hours
> but someone who enters the site an hour later will only have access for
> 2.
>  Any help would be great Ihave nearly finished this project and this is
> all that is hoiding me up, I am  starting to pull my hair out and the
> client is determined that it be done server side.
>
>
> --
> george
> chiefmonkey@<my_pants>wisemonkeydesign.co.uk
> remove my_pants to reply....
> 44 (0)1698 712537
> 44 (0)1698 712657
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to