存档
‘CODE’ 分类的存档
2011年9月5日
3 条评论
A reversion of Lighttpd’s dir-generator.php
2010年6月1日
1 条评论
I got the dir-generator.php worked in my own server, but I found that in some particular circumstance the script worked not very well. For instance, if the filenames has Chinese words, the script displays it in error codes, and because the script uses PHP function filesize() and filemtime() to get the file size and mtime, if the file is very large (for example 4GB), the functions will not work. Even worse, the PHP function is_file() cannot work with large file either, and it makes the large file disappear from the directories list. For normal user, it is very hard to deal with these problem, and maybe they will drop the script.
阅读全文…
最新评论