输出filesize大小,这样写也可以吗?
<?php
$filename = '/data/webroot/usercode/resource/test.txt';
//取得文件的大小并输出
$filesize = filesize($filename);
echo $filesize;
<?php
$filename = '/data/webroot/usercode/resource/test.txt';
//取得文件的大小并输出
$filesize = filesize($filename);
echo $filesize;
2018-09-01
举报