Hi there,
Yes, sorry I meant the expires header. These documents used to be hand coded
and so the expires date was update manually.
What I need now is a way of populating the expires header with data from the
database.
Can this be done???
Cheers
Steven
"Michael Fesser" <ne*****@gmx.net> wrote in message
news:bh********************************@4ax.com...
.oO(Steven)
I have a database with documents that have event dates included. What I
needto do is have the Expires META tag to be one day after that event date.
You don't need a meta-element, use an Expires header instead.
Can I get the date from the appropriate field in the database and format
itinto GMT to add into the header() function?
Yep. According to RFC 2616 (HTTP 1.1) the date has to be in a form like
this to be valid for the Expires header:
Thu, 01 Dec 1994 16:00:00 GMT
Micha