[color=blue][color=green]
>> Cannot really be done with PHP, try JavaScript.[/color]
> Bad luck, i try to avoid JavaScript. Some visitors disabled JavaScript.
>
> Stephanie[/color]
Who is it bad luck for?
PHP is _server side_ a countdown is _client side_.
Stephanie wrote:[color=blue][color=green]
>>Cannot really be done with PHP, try JavaScript.[/color]
>
> Bad luck, i try to avoid JavaScript. Some visitors disabled JavaScript.
>
> Stephanie[/color]
the number of people who know how to disable javascript is minute.
of the people who *do* know how to disable javascript, very few bother
to do so.
i imagine that those people who *both* know how to disable it and
*actually* disable it are probably going to manage to surf your site
without the help of a countdown ticker.
Stephanie wrote:[color=blue][color=green]
> > PHP is _server side_ a countdown is _client side_.[/color]
>
> Why can't you countdown server sided ?[/color]
Your question is not clear. Do you want countdown to be shown in
browser (inputbox, div, etc)?? or You just want to countdown the
seconds (say 10 seconds of sleep)??
On Wed, 27 Jul 2005 15:22:52 +0200, Stephanie wrote:[color=blue][color=green]
>> PHP is _server side_ a countdown is _client side_.[/color]
>
> Why can't you countdown server sided ?[/color]
You can, but the client won't see it. What do you need the countdown for,
anyway? If it's just for a more or less arbitrary delay, use an animated
gif and refresh the page using the 'meta refresh' header set at 10 sec.
On Wed, 27 Jul 2005 13:39:32 +0200, Sadara wrote:
[color=blue]
> of the people who *do* know how to disable javascript, very few bother to
> do so.[/color]
Roughly 10% do, depending on where you get your numbers
On Wed, 27 Jul 2005 12:08:42 +0100, Simon wrote:
[color=blue]
>[color=green]
>>I have a newbie question (couldn't find the answer with google)
>> How to show countdown from 10 to 0 seconds.
>>
>> Stephanie[/color]
>
> Cannot really be done with PHP, try JavaScript.
>
> Simon[/color]
Or you can META Refresh at one second intervals, loading the next
incremented number page each time.
Or you could use an animated GIF
Or you could use Flash (as another poster suggested).
On Wed, 27 Jul 2005 13:00:55 +0200, Stephanie wrote:
[color=blue]
> I have a newbie question (couldn't find the answer with google) How to
> show countdown from 10 to 0 seconds.
>
> Stephanie[/color]
Your question is too unspecific/ambiguous.
What are you trying to do, exactly?
Why do you want to do it?
Why do you think it would be PHP-related, this question?
I have an errorpage that redirects after 10 seconds. So i'd like to show how
many seconds before redirection.
Within that time a visitor can chose to send an email to the webmaster.
So it's not entirely necessary, but it's a service :-))
So i need some advice to show (not how to redirect within 10 seconds) the
remaining seconds within my text.(not a textbox or somthing)
(Sorry, this page was not found. In 10 seconds, you will be redirected to
our main page.)
Stephanie wrote:[color=blue]
> I have an errorpage that redirects after 10 seconds. So i'd like to show how
> many seconds before redirection.
> Within that time a visitor can chose to send an email to the webmaster.
> So it's not entirely necessary, but it's a service :-))
> So i need some advice to show (not how to redirect within 10 seconds) the
> remaining seconds within my text.(not a textbox or somthing)
> (Sorry, this page was not found. In 10 seconds, you will be redirected to
> our main page.)[/color]
Then.. probably, you may have to try something like this
<http://in2.php.net/flush#52147> with META refresh.
"Stephanie" <Stephanie@nosp am.1234> wrote in message
news:bd688$42e7 91eb$513b49d4$1 4069@news.versa tel.nl...[color=blue]
>I have an errorpage that redirects after 10 seconds. So i'd like to show
>how many seconds before redirection.
> Within that time a visitor can chose to send an email to the webmaster.
> So it's not entirely necessary, but it's a service :-))
> So i need some advice to show (not how to redirect within 10 seconds) the
> remaining seconds within my text.(not a textbox or somthing)
> (Sorry, this page was not found. In 10 seconds, you will be redirected to
> our main page.)[/color]
Ah, yes, this is a javascript question. To make it usable for those with js
turned off, just provide a regular link under your timer thing. "if you are
not automagically redirected, or dont want to wait, click here" You should
do that anyway, so I dont have to wait.
Comment