2009-10-04PHP使用PHP取远程文件的大小的3种方法1、【最傻最天真的方法】 将文件使用file_get_contents取回后,strlen 或者存为文件后使用filesize 嘿嘿 2、【使用get_headers】 如果没有打开allow_url_fopen 会显示waring Warning: get_headers() [function.get-headers]: URL file-access …# PHP# PHP应用# 远程文件继续阅读 ↗