Page 1 of 1
set timer in admin site
Posted: Tue Feb 24, 2004 10:59 pm
by valen53
i have a timer in admin site, when i press start, the timer will start increased by second.
But how to let other users to see this timer? The timer in client site must be same with admin site.
anybody can help me ? thank a lots
Posted: Wed Feb 25, 2004 4:39 am
by malcolmboston
it would have to be server-side
the name client-side implies that is controlled/affected/view only by teh client
Posted: Wed Feb 25, 2004 4:47 am
by valen53
Thanks reply.
admin site at my system means server site also. So only the server site can control the timer. The client site only can view the timer.
But how to let client site timer same with server site timer ? B'cos the timer was always increased by second
Posted: Wed Feb 25, 2004 4:51 am
by malcolmboston
i have no idea as i have never personally found the use for such a thing
however if there is only a one second difference between what the server is, and what the client is, unless your working for the atomic timing agency it wont matter
Posted: Wed Feb 25, 2004 5:38 am
by redhair
I'm sure it can be done wit Flash...or java.
Posted: Wed Feb 25, 2004 6:10 am
by JAM
Perhaps if the [Start] triggers a function that will update a database/file once/sec, in conjunction with a 3rd part software (read: cron-job?) or similiar.
Flash or Javabean/applets is also something I firts thought of. Don't think you will be able to do this in pure PHP. Try the guru's in the "Client Side" part of the forum...