Hi to All
How do i retrieve from a directory all the files present using PHP with their file size & date?
Please help! thanx
$handle = @opendir('./'); while ($file = readdir($handle)) if (($file !='.') and ($file !='..')) { $array[$file] = array(filesize($file), filemtime($file)); } closedir($handle);
now you have all the data in $array.
thanx a lot the_Igel!
It helped me lot.