且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从PHP上解压缩gzip文件

更新时间:2023-11-10 08:23:10

使用 gzdecode

<?php
    $c = file_get_contents("http://torcache.com/" .
        "torrent/63ABC1435AA5CD48DCD866C6F7D5E80766034391.torrent");
    echo gzdecode($c);

提供


d8:announce42:http://tracker.openbittorrent.com/announce13:announce-listll42
...