// --------------------------------------------------------------------------------
// PclZip 2.8.2 - readme.txt
// --------------------------------------------------------------------------------
// License GNU/LGPL - August 2009
// Vincent Blavet - vincent@phpconcept.net
// http://www.phpconcept.net
// --------------------------------------------------------------------------------
// $Id: readme.txt,v 1.60 2009/09/30 20:35:21 vblavet Exp $
// --------------------------------------------------------------------------------
0 - Sommaire
============
1 - Introduction
2 - What's new
3 - Corrected bugs
4 - Known bugs or limitations
5 - License
6 - Warning
7 - Documentation
8 - Author
9 - Contribute
1 - Introduction
================
PclZip is a library that allow you to manage a Zip archive.
Full documentation about PclZip can be found here : http://www.phpconcept.net/pclzip
2 - What's new
==============
Version 2.8.2 :
- PCLZIP_CB_PRE_EXTRACT and PCLZIP_CB_POST_EXTRACT are now supported with
extraction as a string (PCLZIP_OPT_EXTRACT_AS_STRING). The string
can also be modified in the post-extract call back.
**Bugs correction :
- PCLZIP_OPT_REMOVE_ALL_PATH was not working correctly
- Remove use of eval() and do direct call to callback functions
- Correct support of 64bits systems (Thanks to WordPress team)
Version 2.8.1 :
- Move option PCLZIP_OPT_BY_EREG to PCLZIP_OPT_BY_PREG because ereg() is
deprecated in PHP 5.3. When using option PCLZIP_OPT_BY_EREG, PclZip will
automatically replace it by PCLZIP_OPT_BY_PREG.
Version 2.8 :
- Improve extraction of zip archive for large files by using temporary files
This feature is working like the one defined in r2.7.
Options are renamed : PCLZIP_OPT_TEMP_FILE_ON, PCLZIP_OPT_TEMP_FILE_OFF,
PCLZIP_OPT_TEMP_FILE_THRESHOLD
- Add a ratio constant PCLZIP_TEMPORARY_FILE_RATIO to configure the auto
sense of temporary file use.
- Bug correction : Reduce filepath in returned file list to remove ennoying
'.//' preambule in file path.
Version 2.7 :
- Improve creation of zip archive for large files :
PclZip will now autosense the configured memory and use temporary files
when large file is suspected.
This feature can also ne triggered by manual options in create() and add()
methods. 'PCLZIP_OPT_ADD_TEMP_FILE_ON' force the use of temporary files,
'PCLZIP_OPT_ADD_TEMP_FILE_OFF' disable the autosense technic,
'PCLZIP_OPT_ADD_TEMP_FILE_THRESHOLD' allow for configuration of a size
threshold to use temporary files.
Using "temporary files" rather than "memory" might take more time, but
might give the ability to zip very large files :
Tested on my win laptop with a 88Mo file :
Zip "in-memory" : 18sec (max_execution_time=30, memory_limit=180Mo)
Zip "tmporary-files" : 23sec (max_execution_time=30, memory_limit=30Mo)
- Replace use of mktime() by time() to limit the E_STRICT error messages.
- Bug correction : When adding files with full windows path (drive letter)
PclZip is now working. Before, if the drive letter is not the default
path, PclZip was not able to add the file.
Version 2.6 :
- Code optimisation
- New attributes PCLZIP_ATT_FILE_COMMENT gives the ability to
add a comment for a specific file. (Don't really know if this is usefull)
- New attribute PCLZIP_ATT_FILE_CONTENT gives the ability to add a string
as a file.
- New attribute PCLZIP_ATT_FILE_MTIME modify the timestamp associated with
a file.
- Correct a bug. Files archived with a timestamp with 0h0m0s were extracted
with current time
- Add CRC value in the informations returned back for each file after an
action.
- Add missing closedir() statement.
- When adding a folder, and removing the path of this folder, files were
incorrectly added with a '/' at the beginning. Which means files are
related to root in unix systems. Corrected.
- Add conditional if before constant definition. This will allow users
to redefine constants without changing the file, and then improve
upgrade of pclzip code for new versions.
Version 2.5 :
- Introduce the ability to add file/folder with individual properties (file descriptor).
This gives for example the ability to change the filename of a zipped file.
. Able to add files individually
. Able to change full name
. Able to change short name
. Compatible with global options
- New attributes : PCLZIP_ATT_FILE_NAME, PCLZIP_ATT_FILE_NEW_SHORT_NAME, PCLZIP_ATT_FILE_NEW_FULL_NAME
- New error code : PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE
- Add a security control feature. PclZip can extract any file in any folder
of a system. People may use this to upload a zip file and try to override
a system file. The PCLZIP_OPT_EXTRACT_DIR_RESTRICTION will give the
ability to forgive any directory transversal behavior.
- New PCLZIP_OPT_EXTRACT_DIR_RESTRICTION : check extraction path
- New error code : PCLZIP_ERR_DIRECTORY_RESTRICTION
- Modification in PclZipUtilPathInclusion() : dir and path beginning with ./ will be prepend
by current path (getcwd())
Version 2.4 :
- Code improvment : try to speed up the code by removing unusefull call to pack()
- Correct bug in delete() : delete() should be called with no argument. This was not
the case in 2.3. This is corrected in 2.4.
- Correct a bug in path_inclusion function. When the path has several '../../', the
result was bad.
- Add a check for magic_quotes_runtime configuration. If enabled, PclZip will
disable it while working and det it back to its original value.
This resolve a lots of bad formated archive errors.
- Bug correction : PclZip now correctly unzip file in some specific situation,
when compressed content has same size as uncompressed content.
- Bug correction : When selecting option 'PCLZIP_OPT_REMOVE_ALL_PATH',
directories are not any more created.
- Code improvment : correct unclosed opendir(), better handling of . and .. in
loops.
Version 2.3 :
- Correct a bug with PHP5 : affecting the value 0xFE49FFE0 to a variable does not
give the same result in PHP4 and PHP5 ....
Version 2.2 :
- Try development of PCLZIP_OPT_CRYPT .....
However this becomes to a stop. To crypt/decrypt I need to multiply 2 long integers,
the result (greater than a long) is not supported by PHP. Even the use of bcmath
functions does not help. I did not find yet a solution ...;
- Add missing '/' at end of directory entries
- Check is a file is encrypted or not. Returns status 'unsupported_encryption' and/or
error code PCLZIP_ERR_UNSUPPORTED_ENCRYPTION.
- Corrected : Bad "version need to extract" field in local file header
- Add private method privCheckFileHeaders() in order to check local and central
file headers. PclZip is now supporting purpose bit flag bit 3. Purpose bit flag bit 3 gives
the ability to have a local file header without size, compressed size and crc filled.
- Add a generic status 'error' for file status
- Add control of compression type. PclZip only support deflate compression method.
Before v2.2, PclZip does not check the compression method used in an archive while
extracting. With v2.2 PclZip returns a new error status for a file using an unsupported
compression method. New status is "unsupported_compression". New error code is
PCLZIP_ERR_UNSUPPORTED_COMPRESSION.
- Add optional attribute PCLZIP_OPT_STOP_ON_ERROR. This will stop the extract of files
when er
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
ThinkSNS_v4.6.1_开源版本_含全部技术资料 (8570个子文件)
0119a3238a8a8ebacc003a64655306975ec032 2KB
01b195d55b780e1e9c5734ec08d00b63299517 14KB
05f4554aa27ffd84fe6ef871cf95d80c6bb801 222B
08d4be2a5f212e5f840171daa03c319a21d8ad 2KB
0c5e5aea7adba0af7876ef9641c1379f03e30d 222B
0da5cf113c59b0db2bdd2318b662a5e56a4315 1KB
0e0a93021964eb7a9a305dd6bd8a234533f97b 7KB
1047648929be808b67a7e69b911fde8b4bf43a 222B
10512e36f3fba9e5e0855f67b0e2d667974ab6 2KB
1ccf5d3b7e0f0cc4b3291063e44eadf4f0bcb6 222B
1eb5bebb974823c8ba4f8da4cd7e532e10288f 1KB
20623f4335a20b51b3ef4da3673ec58e4607c7 14KB
22f54b1020c1622b8ff60489648c98d6b1bb13 4KB
23cf23768b311207b3adf9985e2d8a4fe5a1be 170B
243dda49bcfb1cc4ed2f6aaa6f2cb431c66e87 198B
24650823751d3bff054d08fe505a21ca788720 198B
273ca30480721027e01f63dc7d45dcfc17725b 171B
275c531fa95ce72e8d9f369a3e83e50f67ca60 14KB
279aa11dc883da1124b72156a805a51317fed3 187B
27cd2737b24e6369948a36ff09dc8bee8937f8 21KB
._v1.0.29 212B
v1.0.29 41B
2c9bae651e666c927300c8e5258964ff4620b0 120B
2d09655ca56f2e92f6ae8abf6d564d2da18b4e 662B
2d57f80b6abaa31b5b7f0d6b9708fef3159ca9 222B
2fbbc65a37cc792d0403507faa86ece3444ac7 222B
2fc0150ddf8ff89a25b3d92523aa52b673b57d 213B
._v1.0.30 212B
v1.0.30 41B
._v1.0.31 212B
v1.0.31 41B
._v1.0.32 212B
v1.0.32 41B
._v1.0.33 212B
v1.0.33 41B
._v1.0.34 212B
v1.0.34 41B
344cb1242787375712934b4b1150a11c9d6880 2KB
._v1.0.35 212B
v1.0.35 41B
383a25738be8181377b00aaad05c6bbe5c3781 14KB
3a71dc7c0ef9c8db9707e0c6cd1d75b703858a 120B
3dad36c2b50e7dc8f80557ab54244aa45ae7c4 222B
3ff700e89ae39c525adbb4e531123cba294959 2KB
._kindeditor-4.1.4 212B
40bc0832835bf3ebb581c38998350c2752c268 120B
40ebbb07edb47ff2a5b1658c4dabc98e5f0bf7 187B
410600dde59241b621c4ee265fa9f9534dd642 222B
422184c097b190b77699cc1ab57f9fc7525bea 222B
42c9f65b99009d6100cba7540b382f6ec46b21 121B
4455bb393b8891100d687e5b979ab9c300a56a 193B
47e2cc43edfd2fdf7b37d79752a1218ceb2a09 186B
4800bc0fea27da839089fc40e550672cdd5e73 222B
4d2d0a41a0e19ad241fdce063de2652df5bde0 2KB
4d7571fae9e4686deb08c382c3494ffc97e0ab 194B
4e6a3768160c8bdc5eeabcdd1dfd6ebd132230 201B
50a8bacbd3716e421fffb6cf722b5e312aeaea 222B
5740d3b25e9f2723b4ad837ff6178f430c656c 222B
595b81c3fec2e1465592f4aa85ac35d28fb936 120B
5a4ececd617dbf23ea18cebad7cf7d8efd9bf1 2KB
5bd2809bd447e2b6f27bd191804293f0d039c8 198B
5eba195b59f24da9e5666fd02567a4af9c82eb 2KB
5fae69a19c78609d6180c477f326ea57fff03d 120B
5fae6c7b649fbf15fd6693a96167768e9b3296 199B
60182a4404a067a5b2f8d61e1baa58f492cada 2KB
62e873c64d79348e7dc7f8a446113a23484fbe 7KB
64d6bc317bf08447991d12b0edfb763f6a15d4 222B
6596d18d076d8a29db3e58abe1a270c51c1580 199B
6af8db5725e2fd797da80a4faa76f72bf99046 198B
6bb8b361d68109f5f434c993145cf99aaea305 120B
6bf6846d7a26e2cdfd37a57af92a82edf5d7b3 121B
6df8831ed40cb843e3b80065b310831dcbe4db 198B
7031600c2750caaab1c56c06e322fbaa6b97bb 36KB
7241ead6d499283d92e705caf99532055967ab 188B
729fa4140c646c822a9824f9893efa1fe0d806 198B
73692a930d29734dd8f76866a637384d12479e 119B
74eec2f1d4960b4c1ba277a5bf76b88ef62aba 347B
76127bb40a0b28db3b66e079b67e09d3a0e1ec 2KB
76c195aea94ff873ba73de97cfa8c151ad480e 227B
7b36ea4fc9f8e2f88413e7186993b225484ffd 2KB
7c281ca22e6da22a70fba79683c22759f06b35 198B
7c9c131e4f4d86102538338e2a9170cf28452b 198B
8005f4aef1d123bbc4d037de2b7ada14861339 8KB
872d4806285a6b9c7725bc2bea9d197afb977f 14KB
88664cbbf90d967eb94679f34068521f994d7e 211B
8ac091859872ba0cc7de9dbcd1224f52d33dbb 1KB
8bc3c6949538be05dde4cb50402ab419155c01 209B
8bdf2ebfc1fdca3a20f27b76af984dd9cc007d 197B
8d855724cb64c472f0c0761923ee9102dd2608 2KB
964820a9d822f174639a8999e97fa3115d27b1 198B
97dfd26a0d9713d767569b71dec9138e0c80fb 6KB
9babbd594bcc84176ee0a36e4b6c0c5fc283d1 222B
9d803e54313a33595c6aca0146a451cfa60988 223B
9ec65e0a98abf657ace759cc32fe06e05652f3 120B
._00 212B
._0119a3238a8a8ebacc003a64655306975ec032 212B
._01b195d55b780e1e9c5734ec08d00b63299517 212B
._02 212B
._05f4554aa27ffd84fe6ef871cf95d80c6bb801 212B
._06 212B
共 8570 条
- 1
- 2
- 3
- 4
- 5
- 6
- 86
资源评论
ncom2008
- 粉丝: 1
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- 关于mybatis的一些相关资源
- 关于mybatist的一些相关资源
- uni-app实战社区交友类app开发&带视频教程
- mybatis动态sql的一些相关资源
- 隐马尔可夫模型在期货市场的应用_曾琦裕 (1).caj
- 极域解控和极域反控!!!
- 安卓android-serialport-api 串口demo源代码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功