$dirname = "paragraph";
$dir_handle = opendir($dirname);
while($file = readdir($dir_handle)){
echo"<tr>";
echo"<td>".date("Y年n月t日",filemtime($file))."</td>";
echo"</tr>";
}paragraph是根目录下文件夹 SAE_Warning: filemtime() [function.filemtime]: stat failed for 001.txt in soulList.php on line 11
SAE_Warning: filemtime() [function.filemtime]: open_basedir restriction in effect. File(..) is not within the allowed path(s): 用的是SAE,文件路径有问题?
echo"<td>".date("Y年n月t日",filemtime("$dirname/$file"))."</td>";
PHP年-月-日是Y-m-d!!