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
5 matches
Mail list logo