/* Link from: http://www.ibm.com/developerworks/cn/opensource/os-php-v524/
* Author profile: Tracy Peterson (tracy@tracypeterson.com), freelance writer, Consultant. From
* Since 1997, Tracy Peterson has been an IT project manager and Web developer.
*
Compression (zip), compression zip
By default, these compression tools will delete the source files (except zip files) after compression. By default, only files are compressed, but directories are not compressed (LinkPackage).
Copy CodeThe code is as follows:
Class zip
{
var $datasec, $ctrl _dir = Array ();
var $eof _ctrl_dir = "\x50\x4b\x05\x06\x00\x00\x00\x00";
var $old _offset = 0; var $dirs = Array (".");
function get_list ($zip _name)
{
$zip = @fopen ($zip _name, '
Php zip compression and decompression class ZipArchiv User Guide. Php zip compression and decompression class ZipArchiv user guide this article mainly introduces php zip compression and decompression class ZipArchiv User Guide, very detailed, for
To use this PHP extension class, you need (PHP 5 >= 5.2.0, PECL zip >= 1.1.0), some methods require PHP 5.2.+, and php.ini configuration supports zipFor the win system, simply remove the annotation for the php_zip.dll extension, and then restart the
This article mainly introduces the php zip compression and decompression class ZipArchiv User Guide, which is very detailed. For more information, see The PHP Extension class (PHP 5> = 5.2.0, PECL zip> = 1.1.0), some methods require PHP 5.2. +, and
This article mainly introduces the php zip compression and decompression class ZipArchiv User Guide, which is very detailed. For more information, see The PHP Extension class (PHP 5> = 5.2.0, PECL zip> = 1.1.0), some methods require PHP 5.2. +, and
Atitit.java extracting A list of zip rar files1. Take a zip rar file Scenario issue 11.1. Problems with multiple compression 11.2. Problem with file name encoding 11.3. Determination of the catalogue 12. rar parsing 12.1. JAVA uses
Preface
More than a month ago, the project needed to understand how to process ZIP files in the Java language, and tried a variety of open-source projects and wrote several blogs to record them:
Http://blog.csdn.net/zhangyihui1986/article/details/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.