Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 zlib_decode() 解压缩 GZ 文件。之后如何获得未压缩的文件名?
您需要自己从标题中提取文件名。阅读描述 gzip 标头和预告片的 RFC。这很容易做到。