You need to still put in the standard PHP tags as you would normally and it is 
just another line of code.

e.g

<?php
 header("Cache-Control: no-cache");
?>

> To: php-general@lists.php.net
> From: jim.gi...@albanyhandball.com
> Date: Wed, 27 Apr 2011 21:33:16 -0400
> Subject: Re: [PHP] refreshing pages in the cache
> 
> ok - I'm lost.  What do I do with this knowledge?
> 
> ----- Original Message ----- 
> From: "Sean Greenslade" <zootboys...@gmail.com>
> 
> >>
> > Sure. In order to "tell" the browser to not cache a page, you need to set
> > the header "Cache-Control: no-cache". This can be done by the PHP command
> >
> > header("Cache-Control: no-cache");
> >
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
                                          

Reply via email to