Re: Expires time

From: Date: Mon, 17 Apr 2000 13:48:43 +0000
Subject: Re: Expires time
Groups: php.dev 
Request: Send a blank email to php-dev+get-17966@lists.php.net to get a copy of this message
Hi, Just use the header() function: header("Expires: ".gmdate("D, d M Y H:i:s", 0)." GMT"); // Expires in the past be sure to send the header before any other output ! - Frank >How can I set the expires time in the php scripts. >eg in ASP (Windows NT) I can do >Response.Expires=0 (in the head of the script). > >Thanks a lot for your time. > >-- >Jairo Alonso Murillo Ibarguen >Profesional de Informatica >Centor de Productividad del Pacifico >jamur@cpp.org.co > > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >For additional commands, e-mail: php-dev-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > Swwwing A/S Frank M. Kromann VP Development Phone: +45 70 20 77 20 Fax: +45 70 20 77 21 http://www.swwwing.com

« previous php.dev (#17966) next »