网上的解决方案很多,但都不是很完美。其实最重要的是:ob_end_clean()那句,请空缓冲区并且禁用了缓冲区。@set_time_limit(0);ini_set('memory_limit', '16M');ob_end_clean();@readfile( $path );以下来自php手册:This function discards the contents o...【阅读全文】
大家好: 我买了细说PHP书来学习。在搭建环境时使用的是ubuntu系统 编译libxml2的库是遇到如下错误, In function 'open', inlined from 'xmlNanoHTTPSave__internal_alias' at nanohttp.c:1588:12: /usr/include/x86_64-linux-gnu/bits/fcntl2.h:51:...【阅读全文】