영원한사랑

<?php
$file="org.jpg";
if(file_exists($file)){
echo "$file exists<br>";
$size=(int)(filesize($file)/1024);
$lastAccessed = date ("F d Y H:i:s.", fileatime($file));
$lastChanged = date ("F d Y H:i:s.", filectime($file));
$lastModified = date ("F d Y H:i:s.", filemtime($file));
echo "last accessed: $lastAccessed<br>";
echo "last changed: $lastChanged<br>";
echo "last modified: $lastModified<br>";
echo "filesize: " . $size . " Kbytes";
}
else
echo "$file does not exist";
?>

org.jpg exists
last accessed: November 18 2004 00:38:29.
last changed: November 18 2004 00:38:29.
last modified: November 14 2004 17:15:34.
filesize: 35 Kbytes