// --------------------------------------------------------------------------------
// 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
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
1. 小程序企业产品推广系统代码说明:经导师指导并认可通过的98分毕设项目代码。 2.适用对象:本代码学习资料适用于计算机、电子信息工程、数学等专业正在做毕设的学生,需要项目实战练习的学习者,也适用于课程设计、期末大作业。 3.技术栈:java,项目代码都经过严格调试,代码没有任何bug! 4. 作者介绍:大厂码农,java领域创作者,阿里云开发社区乘风者计划专家博主,专注于大学生项目实战开发,文章底部有博主联系方式,更多优质系统、项目定制请私信。 5. 最新计算机软件毕业设计选题大全: https://blog.csdn.net/weixin_45630258/article/details/135901374
资源推荐
资源详情
资源评论
收起资源包目录
企业产品推广系统小程序源码 (优秀毕业设计源码) (2000个子文件)
main.css.bak 63KB
update-password.vue.bak 3KB
IndexMain.vue.bak 2KB
IndexAsideStatic.vue.bak 2KB
BreadCrumbs.vue.bak 2KB
IndexHeader.vue.bak 2KB
3-build.bat 15B
2-run.bat 14B
1-install.bat 12B
ReaderWriter.cd 6KB
Architecture.cd 2KB
PHPExcel_Writer_Serialized.cs 2KB
PHPExcel_Reader_Excel5.cs 1KB
PHPExcel_Reader_Serialized.cs 1016B
PHPExcel_IOFactory.cs 894B
PHPExcel.cs 862B
PHPExcel_Writer_Excel2007.cs 562B
PHPExcel_Reader_Excel2007.cs 561B
IWriter.cs 246B
IReader.cs 245B
Worksheet.cs 195B
ClassDiagrams.csproj 3KB
app.1a079177.css 268KB
index.2d26d90a.css 79KB
icon.css 70KB
main.css 64KB
chunk-vendors.a72b0961.css 37KB
global-restaurant.css 7KB
mescroll-uni.css 4KB
animation.css 3KB
canvas-bg-1.css 391B
canvas-bg-2.css 83B
canvas-bg-3.css 61B
example2.csv 9KB
example1.csv 271B
PHPExcel developer documentation.doc 865KB
PHPExcel AutoFilter Reference developer documentation.doc 622KB
PHPExcel Function Reference developer documentation.doc 614KB
PHPExcel User Documentation - Reading Spreadsheet Files.doc 170KB
必读推荐.docx 15KB
phpexcel_logo.gif 6KB
.gitattributes 70B
.gitignore 31B
GnumericTest.gnumeric 8KB
.htaccess 227B
index.html 1KB
index.html 948B
index.html 577B
favicon.ico 4KB
favicon.ico 4KB
face.jpeg 51KB
face.jpeg 51KB
face.jpeg 51KB
bg.jpg 4.12MB
banner.jpg 35KB
officelogo.jpg 5KB
captcha.jpg 5KB
captcha.jpg 5KB
captcha.jpg 5KB
captcha.jpg 3KB
termsconditions.jpg 528B
chunk-vendors.196eed34.js 1.98MB
app.85b66a3f.js 595KB
chunk-vendors.3eadbc4c.js 563KB
index.8ec35ac3.js 251KB
vendor.js 233KB
vendor.js 233KB
area.js 223KB
pages-chanpin-add-or-update~pages-chanpinfenlei-add-or-update~pages-discusschanpin-add-or-update~pag~96680f52.982789c7.js 166KB
pages-index-index.90b86191.js 78KB
qrcode.js 43KB
qqmap-wx-jssdk.js 38KB
mescroll-uni.js 29KB
pages-chanpin-detail.8902db9b.js 26KB
qqmap-wx-jssdk.min.js 25KB
calendar.js 24KB
pages-taolun-detail.e75dce54.js 24KB
city.js 23KB
pages-qiye-detail.7827928d.js 22KB
pages-huodongzixun-detail.18847033.js 22KB
pages-chanpin-add-or-update.ee260c7f.js 19KB
w-picker.js 19KB
w-picker.js 19KB
pages-qiye-add-or-update.0858e447.js 19KB
pages-discusshuodongzixun-detail.17e46d08.js 18KB
pages-discusschanpin-detail.cdbad205.js 18KB
pages-discusstaolun-detail.113828d3.js 18KB
pages-taolun-add-or-update.c1dee9eb.js 17KB
pages-yonghu-add-or-update.8ed1aba9.js 17KB
pages-chanpin-list.25f9e424.js 17KB
pages-yonghu-detail.80c3177d.js 16KB
w-picker.js 16KB
pages-storeup-detail.96ba7922.js 16KB
pages-center-center~pages-chanpin-add-or-update~pages-chanpin-detail~pages-chanpin-list~pages-chanpi~41427c6a.1afda17b.js 15KB
pages-user-info-user-info.b4c278b8.js 15KB
pages-storeup-add-or-update.21b46434.js 15KB
pages-center-center.bc4d90fa.js 14KB
pages-huodongzixun-add-or-update.f79309ca.js 14KB
pages-taolun-list.289cbdb8.js 14KB
pages-yonghu-list.b084d5d5.js 14KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
Coder-coco
- 粉丝: 7580
- 资源: 4890
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功