Re: meta
| From: | Martin | Date: | Fri, 11 Aug 2000 07:30:40 +0000 |
| Subject: | Re: meta | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11275@lists.php.net to get a copy of this message | ||
Did you try the thing you will find when you goto the manual -> Header ?
Regards
Martin
PHP scripts often generate dynamic HTML that must not be cached by the client
browser or any proxy caches between the server and the
client browser. Many proxies and clients can be forced to
disable caching with
header ("Expires: Mon, 26 Jul 1997 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");
gstrein andreas wrote:
> hi,
>
> im using
>
> <meta http-equiv="expires" content="0">
>
> in my php3 files so that the browser is forced to load the page every time
>
> it is just not working if i use a listbox in a form
> means choosing an other listboxenty would just not reload the page
>
> OKAY lets explain why i need the refresh (=reload):
>
> i've got one php-file where i can update the database
>
> the same php-file also allows visitors to view the entries for each month
>
> so if the user looks at the entries in august he is able to
> update the data fro lets say september.
>
> the insert or update of the data works fine just if the user then moves to
> september AND had been there before the page isnt reloaded !
>
> thanks a lot
>
> andreas
>
> any hints ?