note 46417 added to function.fileatime

From: Date: Sun, 10 Oct 2004 16:12:28 +0000
Subject: note 46417 added to function.fileatime
Groups: php.notes 
Request: Send a blank email to php-notes+get-78304@lists.php.net to get a copy of this message
Using this function on Win98 made me grow grey hair. Win 98 doesn't save the time for the last access. It only saves the date. This way, the returned timestamp from fileatime(file) is always much too small. this command will always return false: if($now - $last_access >1800) { do something } using filemtime() instead did the thing. ---- Manual Page -- http://www.php.net/manual/en/function.fileatime.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46417 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46417&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+46417&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#78304) next »