请教这二个站可以显示压缩包里面的内容是如何做出来的呢.
Jun 13, 2016 pm 01:09 PM
请问这二个站可以显示压缩包里面的内容是怎么做出来的呢..
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
你看看吧,会对你有帮助的.

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Understand common application scenarios of web page redirection and understand the HTTP 301 status code

How to use Nginx Proxy Manager to implement automatic jump from HTTP to HTTPS

Quick Application: Practical Development Case Analysis of PHP Asynchronous HTTP Download of Multiple Files

How to implement HTTP streaming using C++?

Common network communication and security problems and solutions in C#
