|
例如我的系统目录有
root@localhost PHP]# ll
total 208
-rw-r--r-- 1 root root 0 May 4 04:16 a01_2008-05-04.sql.gz
-rw-r--r-- 1 root root 0 May 4 04:16 a02_2008-05-04.sql.gz
-rw-r--r-- 1 root root 0 May 4 04:16 a03_2008-05-04.gz
-rw-r--r-- 1 root root 0 May 4 04:16 b01_2008-05-04.sql.gz
-rw-r--r-- 1 root root 0 May 4 04:16 b02_2008-05-04.sql.gz
-rw-r--r-- 1 root root 0 May 4 04:16 b03_2008-05-04.gz
-rw-r--r-- 1 root root 0 May 4 04:16 a01_2008-05-05.sql.gz
-rw-r--r-- 1 root root 0 May 4 04:16 a02_2008-05-05.sql.gz
-rw-r--r-- 1 root root 0 May 4 04:16 a03_2008-05-05.gz
-rw-r--r-- 1 root root 0 May 4 04:16 b01_2008-05-05.sql.gz
-rw-r--r-- 1 root root 0 May 4 04:16 b02_2008-05-05.sql.gz
-rw-r--r-- 1 root root 0 May 4 04:16 b03_2008-05-05.gz
我想通过查询某一天中所有的文件信息,例如在PHP页面的<input type=text>中输入2008-05-05 怎么样把这一天中的文件名和文件大小一同显示出来? |
|