🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #12598

Re: PHP: pagina's dwingen om te herladen

#12598
From: KLinZ
Date: Fri, 26 Oct 2001 20:17
41 lines
2003 bytes
"florizla" <florizla@hotmail.com> wrote in message
news:1004108418.425209@seven.kulnet.kuleuven.ac.be...
> florizla wrote:
>
> [beschrijving probleem]
>
> > Een snelle Google bracht me bij:
> > http://vancouver-webpages.com/META/metatags.detail.html
>
> [uitleg van die pagina]
>
> Oeps, er staat nog iets bij:
>
> # Note: While the Expires HTML META tag appears to work properly with
> # Netscape Navigator, other browsers may ignore it, and it is ignored by
> # Web proxies. Use of the equivalent HTTP header, as supported by e.g.
> # Apache, is more reliable.
>
> > Mijn vraag: is (voor wat ik wil doen) dit een goeie oplossing:
> >
> > <META HTTP-EQUIV="expires" CONTENT="0">
> >
> > Of kan ik beter iets anders proberen?
>
> Kan ik met andere woorden, vanuit PHP die HTTP header niet aanpassen?
>
> > alvast bedankt
> > flo
>

Yep, daar is een functie voor:

int header (string string [, bool replace])

Te vinden in de PHP documentatie:

 http://www.php.net/manual/en/function.header.php


Joris
Technical Details
Message-ID: <9rcgc7$t8i25$1@ID-79907.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!c71152.upc-c.chello.NL!not-for-mail
References: <1004108201.413352@seven.kulnet.kuleuven.ac.be> <1004108418.425209@seven.kulnet.kuleuven.ac.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,db05dc06d2035ab7
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-10-26 13:17:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!c71152.upc-c.chello.NL!not-for-mail
From: "KLinZ" <klinz@hetnet.nl>
Newsgroups: be.comp.programming
Subject: Re: PHP: pagina's dwingen om te herladen
Date: Fri, 26 Oct 2001 22:17:29 +0200
Lines: 43
Message-ID: <9rcgc7$t8i25$1@ID-79907.news.dfncis.de>
References: <1004108201.413352@seven.kulnet.kuleuven.ac.be> <1004108418.425209@seven.kulnet.kuleuven.ac.be>
NNTP-Posting-Host: c71152.upc-c.chello.nl (212.187.71.152)
X-Trace: fu-berlin.de 1004127432 30689349 212.187.71.152 (16 [79907])
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000