Re: refresh

From: Date: Thu, 14 Dec 2000 02:45:22 +0000
Subject: Re: refresh
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30234@lists.php.net to get a copy of this message
Pablo: > I need to reload the graphics of a page, every time that somebody access > the page. Can anybody help me? Uh, perhaps setting the cache info in the headers will do what you want. So, before you send anything out to the browser, send the following headers... <?php header("Expires: Thu, 10 Feb 2000 00:00:01 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); # ... do the rest of your code here ... ?> --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#30234) next »