F
Flav
I would like to be able to have a timer on my site to count down
every 2
RESPONSE from another newsgroup
Because of time zones, you'll have to do much of this server-side.
Way I'd do it would be to generate an "uncachable" Javascript file on the
fly, that:
1. sets a javascript variable "minutesToWipe" which says how
many minutes there are until the next wipe; and
2. contains a function that displays that time in an absolutely-
positioned DIV element in the top right corner of your page.
END RESPONSE
NEXT RESPONSE
A note though..
you might want to set the refresh in the web pages. Otherwise local caches
might undo what you are doing (at least as far as any return visitors)
END RESPONSE
I have absolutely no idea how to do this.
Basically my site shows different ports of PHP-Nuke etc, and dumps each
demo site including each database then recreates it.
I need to display to my guests and members when each site is due to be
dumped.
I need to do all of the above. Timer server side, count down every 2
hours, and refresh my site.
If anyone is in a position to help me I would be greatly appreciative.
Paul
http://www.nuke-choice.com
every 2
RESPONSE from another newsgroup
Because of time zones, you'll have to do much of this server-side.
Way I'd do it would be to generate an "uncachable" Javascript file on the
fly, that:
1. sets a javascript variable "minutesToWipe" which says how
many minutes there are until the next wipe; and
2. contains a function that displays that time in an absolutely-
positioned DIV element in the top right corner of your page.
END RESPONSE
NEXT RESPONSE
A note though..
you might want to set the refresh in the web pages. Otherwise local caches
might undo what you are doing (at least as far as any return visitors)
END RESPONSE
I have absolutely no idea how to do this.
Basically my site shows different ports of PHP-Nuke etc, and dumps each
demo site including each database then recreates it.
I need to display to my guests and members when each site is due to be
dumped.
I need to do all of the above. Timer server side, count down every 2
hours, and refresh my site.
If anyone is in a position to help me I would be greatly appreciative.
Paul
http://www.nuke-choice.com