PROGRAMMING/PHP
[PHP] filesize() 2기가 이상시 오류 발생
OJR
2012. 9. 28. 14:40
php 에서 filesize() 를 통해 파일사이즈를 구할때 2기가 이상이면 오류를 뱉는다.
http://php.net/manual/en/function.filesize.php
어쩔수 없이
$target_filesize = system(ls -s [target_file] | awk '{print $1}');
로 해결할수 밖에 없다.