Re: Auto refresh when data changed in Mysql

From: Date: Tue, 23 Jan 2001 10:37:01 +0000
Subject: Re: Auto refresh when data changed in Mysql
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-94972@lists.php.net to get a copy of this message
You could use Headers to tell the browser to expire the page "now".. header ("Expires: Mon, 1 Jan 1990 05:00:00 GMT"); // Date in the past header ("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"); something like that should do it.. See if it works now.. ----- Original Message ----- From: "Simonk" <fong@btinternet.com> To: <php-general@lists.php.net> Sent: Sunday, April 28, 2002 7:50 PM Subject: [PHP] Auto refresh when data changed in Mysql > 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 any home pc. but only in my school's pcs > but when i type in www.xxxx.com/showdata.php???? > then the page can be update. > Is there any code or setting can be set to over come this problem? > > Thank you! > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#94972) next »