Zip:pclzip http://www.phpconcept.net/pclzip/index.en.php
rar:pecl rar Http://pecl.php.net/package/rar
In the past to perform the decompressor under PHP, the most common way is to write command and then use EXEC () and other execution functions to
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
Zip:pclzip http://www.phpconcept.net/pclzip/index.en.php
rar:pecl rar Http://pecl.php.net/package/rar
In the past to perform the decompression program in PHP, the most common way is to write command and then use EXEC () and other executive functions
Zip:pclzip http://www.phpconcept.net/pclzip/index.en.php
rar:pecl rar Http://pecl.php.net/package/rar
In the past to perform the decompression program in PHP, the most common way is to write command and then use EXEC () and other executive functions
PHP executes the zip and rar decompression methods first. it will be used for further research. Zip: PclZip http://www.phpconcept.net/pclzip/index.en.php
Rar: PECL rar http://pecl.php.net/package/rar
In the past, we had to execute the decompression
Zip: PclZip http://www.phpconcept.net/pclzip/index.en.php
Rar: PECL rar http://pecl.php.net/package/rar
In the past, we had to execute the decompression program in php. The most common method was to write the command and run it using the Execute
Compressing extended PHP Array objects
Recently there is a requirement: The file name inside the RAR archive, the size to get out, parse into JSON output;Read the countless information, learned to add php_rar.dll (if it is zip, add php_zip.dll
Summary of PHP compression and archive extensions
To open the PHP user manual, we can see the following library of functions for processing compressed files,
Bzip2,lzf,phar,rar,zip,zlib
So what are the actual application scenarios for each of these,
Copy the Code code as follows:
/*********************** @file-path to zip file* @destination-destination directory for unzipped files*/function Unzip_file ($file, $destination) {Create Object$zip = new Ziparchive ();Open Archiveif ($zip->open
The answer is: when the server uses the php feature (function) to include any file, the source of the file to be included is not strictly filtered, so that it can contain a malicious file, we can construct this malicious file to achieve the evil
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.