【php开源代码栏目提醒】:网学会员鉴于大家对php开源代码十分关注,论文会员在此为大家搜集整理了“filemtime.php”一文,供大家参考学习
<?php
// 输出: December 29 2002 22:16:23.
$filename = 'hello/student.txt';
if (file_exists($filename)) {
echo "$filename 最近修改时间: " . date ("F d Y H:i:s.", filemtime($filename));
}
?>