$filename = '/data/webroot/usercode/resource/test.txt';
//取得文件的大小并输出
$size=filesize($filename);
echo $size.'kb';
能过
//取得文件的大小并输出
$size=filesize($filename);
echo $size.'kb';
能过
2016-01-15
哈哈,果然是只留下$filename = '/data/webroot/usercode/code/test2.txt';这句点提交就通过了
2016-01-15
/*$data = array();
while ($row = mysql_fetch_assoc($result)) {
$data[] = $row;*/ 遍历所有数据
while ($row = mysql_fetch_assoc($result)) {
$data[] = $row;*/ 遍历所有数据
2016-01-12