date of file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In addition to reading the names of the files in a directory, I also need to read the date the file was modified. 

Right now I've got this: 

if ($handle = opendir("$path")) 
{
   $b=0;
   while (false !== ($file[$b] = readdir($handle))) 
   {
       $b++;
   }
   closedir($handle);
}

What function do I need to use to do this? I'm working in php4.

Andrew Darrow
Kronos1 Productions
www.pudlz.com


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux