#45447 [Opn]: filesystem time functions

From: Date: Mon, 04 Aug 2008 21:13:58 +0000
Subject: #45447 [Opn]: filesystem time functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-127584@lists.php.net to get a copy of this message
ID: 45447 User updated by: Bryan dot Gallant at hma dot com Reported By: Bryan dot Gallant at hma dot com Status: Open Bug Type: Filesystem function related Operating System: Windows Server 2008 PHP Version: 5.2.6 New Comment: Interesting Update. using the same code on an old Win2k Box against the files on the 2008 server, it works as intended. Previous Comments: ------------------------------------------------------------------------ [2008-07-15 13:00:41] Bryan dot Gallant at hma dot com Any update on this? ------------------------------------------------------------------------ [2008-07-08 00:12:21] Bryan dot Gallant at hma dot com Sorry, it's the full path in a string. ------------------------------------------------------------------------ [2008-07-07 23:57:46] Bryan dot Gallant at hma dot com So far I've tried all manner of office documents, tifs, jpegs, text files, etc. ------------------------------------------------------------------------ [2008-07-07 21:50:54] jani@php.net And $file is..? ------------------------------------------------------------------------ [2008-07-07 19:10:34] Bryan dot Gallant at hma dot com Description: ------------ All Time related Statistics for Files return "-1". W2K8/IIS7 Reproduce code: --------------- print_r(stat($file)); Expected result: ---------------- Unix timestamp on atime,mtime,ctime Actual result: -------------- Array ( [0] => 0 [1] => 0 [2] => 33188 [3] => 1 [4] => 0 [5] => 0 [6] => -1 [7] => 0 [8] => -1 [9] => -1 [10] => -1 [11] => -1 [12] => -1 [dev] => 0 [ino] => 0 [mode] => 33188 [nlink] => 1 [uid] => 0 [gid] => 0 [rdev] => -1 [size] => 0 [atime] => -1 [mtime] => -1 [ctime] => -1 [blksize] => -1 [blocks] => -1 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45447&edit=1

« previous php.bugs (#127584) next »