[Project_owners] expiration date of the php page

Christian Stocker chregu at bitflux.ch
Mon Oct 20 19:14:03 EDT 2003



On 10/20/03 5:59 PM, Biju G C wrote:

> need some help php
> I want to programmatically set expiration date of the php page.
> now I use 
>    header("Expires: Mon, 30 Oct 2003 05:00:00 GMT");
> Instead it should be current day + 1 

header("Expires: " . date("r",time() + 60*60*24));

chregu

> 
> what should be the right date expression for this
> 
> thanks in advance
> biju
> 
> 
> ________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  chregu at bitflux.ch  |  gnupg-keyid 0x5CE1DECB



More information about the Project_owners mailing list