ID: 9921 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Bogus Bug Type: Filesystem function related Assigned To: Comments: There's a duplicate for this: #9993 Please, update the old bug report, do NOT open new ones! (from now on, update #9993 !) --Jani Previous Comments: --------------------------------------------------------------------------- [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); } } ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9921&edit=2 -- 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]