Home > Backend Development > PHP Tutorial > 请教这二个站可以显示压缩包里面的内容是如何做出来的呢.

请教这二个站可以显示压缩包里面的内容是如何做出来的呢.

WBOY
Release: 2016-06-13 13:09:44
Original
1020 people have browsed it

请问这二个站可以显示压缩包里面的内容是怎么做出来的呢..
http://www.pudn.com/downloads282/sourcecode/web/detail1276901.html

http://www.bvbcode.com/cn/0ij1cmk2

这二个站都有这样的功能,很实用,我有一个网站也需要这样的功能,请问是实现访求是什么,求思路,求方法..

------解决方案--------------------
为使window用户顺利解包,通常会限定压缩包为zip、rar格式
如果你也是这样做的,那么事情就简单了
php 提供了:
zip 扩展 内置
rar 扩展 需安装

两个扩展都提供了开列压缩包中文件名的功能
------解决方案--------------------
http://www.jb51.net/article/25521.htm
http://download.csdn.net/detail/achenweiming/2818989
你看看吧,会对你有帮助的.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template