Re: [PHP] auto refresh once

2005-03-02 Thread Burhan Khalid
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

RE: [PHP] auto refresh once

2005-03-02 Thread yangshiqi
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

Re: [PHP] auto refresh once

2005-03-02 Thread Devraj Mukherjee
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

Re: [PHP] auto refresh once

2005-03-02 Thread Bret Hughes
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

[PHP] auto refresh once

2005-03-01 Thread William Stokes
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

[PHP] Auto refresh

2003-06-03 Thread Kurosh Burris
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(

Re: [PHP] Auto refresh when data changed in Mysql

2002-04-28 Thread David Freeman
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

RE: [PHP] Auto refresh when data changed in Mysql

2002-04-28 Thread Stuart Dallas
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 :

Re: [PHP] Auto refresh when data changed in Mysql

2002-04-28 Thread Simonk
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"); > > >

Re: [PHP] Auto refresh when data changed in Mysql

2002-04-28 Thread The_RadiX
// 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: <

[PHP] Auto refresh when data changed in Mysql

2002-04-28 Thread Simonk
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

Re: [PHP] auto refresh in every five seconds.

2001-07-27 Thread Matt Greer
- 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

[PHP] auto refresh in every five seconds.

2001-07-27 Thread Mark Lo
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