readfile(): Unable to find the wrapper ".http" - did you forget to enable it when you configured PHP?

readfile(): Unable to find the wrapper ".http" - did you forget to enable it when you configured PHP?

运行php 抛出错误:

readfile(): Unable to find the wrapper ".http" - did you forget to enable it when you configured PHP?
本来是下载文件功能的地区文件流

readfile('.'.$file_path);   //返回从文件中读入的字节数
最后把代码换成

var_dump($file_path);die;
完胜!

发表评论

登录 后才能评论