// --------------------------------------------------------------------------------
// PclZip 2.8.2 - readme.txt
// --------------------------------------------------------------------------------
// License GNU/LGPL - August 2009
// Vincent Blavet - [email protected]
// 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
没有合适的资源?快使用搜索试试~ 我知道了~
H5红包雨互换互助系统源码附带完整数据+带码支付通道
共2000个文件
php:731个
png:288个
js:239个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 126 浏览量
2024-03-16
11:25:54
上传
评论
收藏 14.35MB ZIP 举报
温馨提示
这个红包源码是互换来的,话说可以完整营运,但由于我工作中暂时没时间,就没测试了,有兴趣的自己拿着测试一下效果吧,其它就没什么好介绍的了。
资源推荐
资源详情
资源评论
收起资源包目录
H5红包雨互换互助系统源码附带完整数据+带码支付通道 (2000个子文件)
1c5f804a16379c20c7ff5f0c4d46904e 1KB
1c5f804a16379c20c7ff5f0c4d46904e 1KB
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
json.bat 26B
ChangeLog 32KB
ci_session0004ff4650c47fcbdb7cf7f5c41fb3ba00ed38bb 34B
ci_session007d758890d624dea9d5ca4280384acc03107505 34B
ci_session01f74ad616d730d09b5cd4ebbcd7b1dff176409b 34B
ci_session055a352ea027969a4170eaddbfcdf5143ac5824e 34B
ci_session05d1e76f07b3869b7a59d12baedeedae9d92b147 34B
ci_session06322da3dee34eb25c6eda7ddd7967dd96195814 34B
ci_session08ef57e3a7817b5eb64af326ba11a96657e66393 34B
ci_session0ab68003c229bfa8bbbc376e263e282bd5e54a47 34B
ci_session0da1f59616459806142c294c59769e21301ec43b 34B
ci_session0ebf682dc33339d7a0853cca7e63b3b717f7d275 882B
ci_session1391c758226e66433c025ac6f4418870a29ff374 34B
ci_session1406677d244b068fc4ee7dda5588afb5113851c6 34B
ci_session153850673c4ab722abfb3e0116f0d6d9ec93b1a6 34B
ci_session15db9a7750f7524c5aa1a80ed8ada80156bd0c6c 57B
ci_session16539a361ef8b6f1c11a01feecc60f121601351b 34B
ci_session168403f6a8f6da29b8a8d65366020d6ba0d34494 57B
ci_session17f1d1c6d7b6675d5426dcaadb148243dcedb910 34B
ci_session1a5294dbeea669d6d8976a6609cb453bbefa75bc 34B
ci_session1ba4916d9f1c12a10f45f3675e6f94c063064ef0 876B
ci_session1c2097efeaaf007368936053728cb07dca2e4251 34B
ci_session1e145d8a8924b2f2da385c1fdd478026d0f709f8 34B
ci_session1f93d5ab7169ae6eeae11a381a72e03579a472a9 34B
ci_session214e1a64f2f737fb046fce4722ba5d993d6a983f 34B
ci_session24eb4027de907ca9b1a8fb80fbf9c3bb2a04de6f 34B
ci_session2b3ed5b8bfa776705a653eab7efe207a2058e1bf 34B
ci_session2dd34fcf3ee2be61f8ea61aaf1501f0449bcc84d 34B
ci_session305d78f003b58c76c91ad54fe4daf2a0d3fe0d79 34B
ci_session30c35ef92efe3ecc5dc947de286382a9e728d0bc 34B
ci_session3165194f5962033cb6382ef692bbb42bc0aba94b 57B
ci_session342f228d06180f33b374f978316480a28cb33d7a 57B
ci_session3650d0b5c06892bd08cb8dd448263e2387f5a0d3 57B
ci_session3726207189e957c6aef7aca7b5ab29e44987870f 34B
ci_session38b92584a340ef53e9f97e077d3d9ad1ae0204cc 34B
ci_session3cbaec37ccc9351c29784cbcac9dc8bdb7620857 57B
ci_session4016fa05949f430a3770111bfe39ae51419fc274 34B
ci_session404b6cb2d3444f5ccb039af795be57de6811c746 34B
ci_session41c620fc912b377318f053cbe87261ab8be9130a 34B
ci_session44a21d7e80e86d72b3c9b3810bd803fd9320db4c 57B
ci_session461a01146ffece06d6e2d16bd38b72f4d8d0945b 57B
ci_session465946178009eb8aa2d38b5bedfcb6fd019db3da 34B
ci_session4a884bf9094ecb042a6452902f39ffe92dfe2670 34B
ci_session4b8d151302bc256dc177538ec4b2185f2406f17c 34B
ci_session4bfb7a53036567e2a3060e1878bf6b7a4d9c9d4e 34B
ci_session4dbb0191920e9806fc8fa89f118f3020a45d61d0 878B
ci_session5441d17de1771c34ecb80951ad071663ebf0f637 34B
ci_session55aaa55eef2b78703f6a32f0bce81fff51a06265 34B
ci_session5670cc1e7f2a46ab26c3549367a6215cde737eee 34B
ci_session56d8914e343ad399007c57fba1cbaa24fb7739a8 34B
ci_session56eaa447296f85aa9c941f5644f253fa68f05618 34B
ci_session5aaeaa5a78d309a382ec2afd995d43bc44743c55 34B
ci_session5b75578c7090f3c2193891b5d2367a3ed24e7689 34B
ci_session5b8ae73e781b014fbb36fe224959a80e369840c1 34B
ci_session5ba47b6b268e4aaecc6699a25c3e342136358efa 57B
ci_session5bde7cbf5fabcf04a85b6a07866a49349e8e54d6 878B
ci_session5c0a88017e87237275fcaa199e9b0ab49b4eabb5 34B
ci_session5d30167e8231c69659686261fb6146a6d3a6b0c5 34B
ci_session5d93e68f751b3d982d51efe3cf4a1aacd18773a6 34B
ci_session5e34a7f18915b135604fe36ee63cc6f56200a64a 34B
ci_session5f0eaae1d0f29576d6bd4d43d2c1c312b64e82ff 34B
ci_session61f70d8066875dc28afa964d84f0a9489168dd4a 57B
ci_session62994173a9de3ebdc7df96ecb31f531883f2f643 34B
ci_session62add2f591f475782eb3ab0eebc04250e8495163 57B
ci_session66432ece0a8f07c6c3e601e6a11ab0f82859d08a 34B
ci_session697eb9ebc6063bb58e62432f905c7906d0adb0b3 34B
ci_session6a6d71574bbc9e0bca8c0e1362b716c9fdbd093c 57B
ci_session6ba98988d48267dc27d6637ae104ab451f4ba084 34B
ci_session6c093fc459109b3e7aff83b643739118995596ff 57B
ci_session6c204132411a7c874c242ec01094d1d279621cda 34B
ci_session6cf7b5a1243e9a483a959d0414cd38e116617825 34B
ci_session6e6518427d05f85d2e408566a14058aa06f9b788 34B
ci_session6ec46747034ddb5345b6c7823195d34e36323336 34B
ci_session6eee5dcdadcd28f8903c1d68d7e674f7410fa6b2 34B
ci_session6f53847f6d25258c46e4b88b916ee096e49305b4 34B
ci_session6f59779dbb7e3c7290ba4435c775ee0b5c9822b8 57B
ci_session709d2ed4e493cbb5b5be3d4eeefee81a22753df8 34B
ci_session718253a418fbc828dd0700387d3b1301cbba513d 34B
ci_session7199c3d4168e852a3d6826493259b07f24b62fe2 34B
ci_session74bdc74743e0f399f28f0d5adc5e983a27e07c1d 34B
ci_session752003a420fbe04fa4c73d198f73c3421b9ae2f1 34B
ci_session778ef00309b9f6006b1469119f3cb6bd15244c7d 34B
ci_session78a83ea40e56ab989a5db7b6712530f39cb16622 34B
ci_session78f0d774262ed3121264739ae7a40eae512fd7a7 34B
ci_session78ff4a643d322001f2e08c0db0ef05570d40b380 34B
ci_session793cbbc64c6b784c8ce98f459a76405f0c328899 34B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
如鹿觅水
- 粉丝: 180
- 资源: 376
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功