RE: Re: Refresh in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And in exactly what way would you suggest that this a php
functionality?

It is obvious from the previous letter that the author is
aware of that you can control this behaviour on the client
side, but the question was how this can be achieved on the
server side, and the answer to this question is: it can't be,
because HTTP communication does not work that way - not of
what I am aware of at least. If I am wrong about this, I am
more than glad to be corrected by someoen who know better
than me.



-----Original Message-----
From: Nadim Attari
To: php-windows@xxxxxxxxxxxxx
Sent: 2004-04-02 07:01
Subject:  Re: Refresh in php

> Is there any function in php that keeps refreshing the page after a
> fixed time...just like "<meta refresh>" in normal HTML files.

Hi Sudeep!

Kia haal hein??

Maybe this will help:

$numSeconds = 120;
header ("Refresh: $numSeconds; url=". $_SERVER['PHP_SELF']);

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux