Philip J. Newman wrote:

>Is there any way that PHP can grab the time and date of a file ??
>
If you mean a file's last-access and last-modified date then yes, you 
need the stat() function:

www.php.net/stat

For example:

$stat = stat('file.txt'); 
$modified = date('l, F dS', $stat[9]);
$lastaccess = date('l, F dS', $stat[8]);




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to