ID: 9921 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: Filesystem function related Description: Wrong File Created Date and Wrong Filesize Sorry! The Output for every file (no matter filesize or file date) is : <filename> 01/01/1970 0 Previous Comments: --------------------------------------------------------------------------- [2001-03-26 15:51:10] [EMAIL PROTECTED] There's a duplicate for this: #9993 Please, update the old bug report, do NOT open new ones! (from now on, update #9993 !) --Jani --------------------------------------------------------------------------- [2001-03-23 08:13:08] [EMAIL PROTECTED] Can you please add the output of this? ie. How are the date and size wrong? --Jani --------------------------------------------------------------------------- [2001-03-22 09:31:40] [EMAIL PROTECTED] <?php $fhandle = opendir("."); while (false!=($file = readdir($fhandle))) { if ($file != "." && $file != "..") { if (!(is_dir($file))) { $fdata = filemtime($file); $fdata = date("d/m/Y",$fdata); $fsize = filesize($file); printf("%s %s %dn", $file, $fdata, $fsize); } clearstatcache(); closedir($fhandle); } } ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=9921 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]