可以列出zip/rar文件内容的PHP库 [英] PHP library that can list contents of zip / rar files

查看:125
本文介绍了可以列出zip/rar文件内容的PHP库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

注意:我不需要图书馆链接到我的主机未安装或不想安装的扩展的文档.

Note: I NEED A LIBRARY not links to documentation about extensions my host doesn't have or want installed.

受试者说了一切.

我暂时无需提取任何文件(尽管以后可能对我的Web应用程序可能是一个不错的补充),我只需要列出rar和zip归档文件的内容即可.

I don't need to extract any files for the moment (although that might be a nice addition to my web app later) I just need to list the contents of rar and zip archives.

推荐答案

老实说,我认为您不会找到一个.如果我正确理解的话,您需要的是一个包含rar扩展本身的库(允许php访问和对文件系统及压缩文件的可用性:rar)本身.我真的不认为任何人都可以在更容易安装时重新构建/移植/移动/提取/等rar扩展的麻烦.如果您是我,我将与主机联系,以查看他们是否将其安装和/或迁移到新主机.

I honestly don't think you'll find one. What you're asking for is a library that includes the rar extension (giving php access and usability to the filesystem and compressed files: rar) itself if I'm understanding correctly. I really don't think anyone would go through the trouble of rebuilding/porting/moving/extracting/etc the rar extension when it's easier to install it. If I were you I'd contact the host to see if they'll install it and/or migrate to a new host.

这篇关于可以列出zip/rar文件内容的PHP库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆