php 获取gzip压缩过了的源码

2017/01/27 14:26
阅读数 396

file_get_contents("compress.zlib://".$URL);

<?php


    error_reporting(0);
    header("Content-type:text/html;charset=utf-8");

    //$api='http://wthrcdn.etouch.cn/weather_mini?city=%E6%9D%AD%E5%B7%9E';

    $api='http://acgzj.cn/bili';
    $op=file_get_contents("compress.zlib://".$api);
    echo $op;



展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部