![](/img/trans.png)
[英]scandir subfolder gives errors when I try to sort images by filemtime in php (filemtime(): stat failed)
幾年前我寫了一個 php 畫廊,一切正常,直到我在 scandir 中放入一個子文件夾(照片),我有以下結構: 根/畫廊/ 根/畫廊/照片/ 根/畫廊/拇指/ 根目錄/圖庫/thumbs_b/ 根/畫廊/畫廊.php 在文件夾foto中有所有更大的照片,在thumbs里面有所有縮圖,在thumbs ...