note 42506 added to function.getlastmod

From: Date: Wed, 19 May 2004 08:36:16 +0000
Subject: note 42506 added to function.getlastmod
Groups: php.notes 
Request: Send a blank email to php-notes+get-69819@lists.php.net to get a copy of this message
Setting the 'Last-Modified' header: <?php setlocale(LC_TIME, "C"); $ft = filemtime ('referencefile'); $localt = mktime (); $gmtt = gmmktime (); $ft = $ft - $gmtt + $localt; $modified = strftime ("%a, %d %b %Y %T GMT", $ft); ?> ---- Manual Page -- http://www.php.net/manual/en/function.getlastmod.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42506 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42506&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42506&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69819) next »