William Stokes wrote:
Hello,
Is it possible to force one automatic refresh browser when user enters to a
webpage? If so, how?
Use the header() function.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: William Stokes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 3:55 PM
To: php-general@lists.php.net
Subject: [PHP] auto refresh once
Hello,
Is it possible to force one automatic refresh browser when user enters to a
webpage? If so, how?
Thanks
-Will
--
PHP General Mailing Lis
Hi Will,
Automatic refresh can be achieved by the use of a META tag. The meta tag
looks like the following, where the 5 is the number of seconds, the
URL is obviously the page.
http://www.url.com/";>
To refresh all you do is send the META tag out as part of the output the
first time and dont d
On Wed, 2005-03-02 at 01:55, William Stokes wrote:
> Hello,
>
> Is it possible to force one automatic refresh browser when user enters to a
> webpage? If so, how?
javascript timer and a reload in a function called vi body onLoad wouldd
do it I guess. if you are only going to do it once you nee
Hello,
Is it possible to force one automatic refresh browser when user enters to a
webpage? If so, how?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Everyone,
I'm now trying to add an "auto refresh" in a .php file, so that it
automatically refreshes the same page every 15 mins. Is there an upper
limit to the header() function? It seemed to work fine when it was set to
"5" seconds, but is not working with "900".
Here's the code:
header(
On 28 Apr 2002 at 20:32, Simonk wrote:
> I have added the code, but it turn out :
>
> "Warning: Cannot add header information - headers already sent by (output
> started at C:\Inetpub\php\hospital_equipment.php:5) in
> C:\Inetpub\php\hospital_equipment.php on line 6
[etc]
> Here is my full HTM
Menu Loaned
Equipments Add
New Equipment
-- END CODE --
HTH,
Stuart
-Original Message-
From: Simonk [mailto:[EMAIL PROTECTED]]
Sent: 28 April 2002 20:33
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Auto refresh when data changed in Mysql
I have added the code, but it turn out :
ot;Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
> // always modified
> header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
> header ("Pragma: no-cache");
>
>
>
// always modified
header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header ("Pragma: no-cache");
something like that should do it..
See if it works now..
- Original Message -
From: "Simonk" <[EMAIL PROTECTED]>
To: <
I have made a php + mysql site and hosting in my own IIS server, but in my
school network, The page didnt change when i changed the data in mysql
server. I think is the cache problem, but i cant fix it even i tick the
"Update the page everytime when page load" in IE.
There is no such problem in an
- Original Message -
From: "Mark Lo" <[EMAIL PROTECTED]>
To: "php general" <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 10:40 PM
Subject: [PHP] auto refresh in every five seconds.
> Hi,
>
> I would like to know how to do a auto refre
Hi,
I would like to know how to do a auto refresh in every five seconds.
Thanks
Mark
--
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 PROTE
13 matches
Mail list logo