note 70186 added to function.filemtime

From: Date: Fri, 06 Oct 2006 05:56:54 +0000
Subject: note 70186 added to function.filemtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-118114@lists.php.net to get a copy of this message
it seems that under a server running Windows XP, Apache and PHP5 the difference between the current system time and the creation time of a file will always be 18000 while linux will report the right value which is 0 <? file_put_contents("test", "temp"); echo time() - filemtime("temp"); // windows = 18000 // linux = 0 ?> ---- Server IP: 216.235.15.211 Probable Submitter: 206.188.94.196 ---- Manual Page -- http://www.php.net/manual/en/function.filemtime.php Edit -- https://master.php.net/note/edit/70186 Del: integrated -- https://master.php.net/note/delete/70186/integrated Del: useless -- https://master.php.net/note/delete/70186/useless Del: bad code -- https://master.php.net/note/delete/70186/bad+code Del: spam -- https://master.php.net/note/delete/70186/spam Del: non-english -- https://master.php.net/note/delete/70186/non-english Del: in docs -- https://master.php.net/note/delete/70186/in+docs Del: other reasons-- https://master.php.net/note/delete/70186 Reject -- https://master.php.net/note/reject/70186 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118114) next »