// --------------------------------------------------------------------------------
// 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
没有合适的资源?快使用搜索试试~ 我知道了~
APP源码 悬赏猫任务APP源码 优化修复版 可以封装APP
共2000个文件
php:666个
png:455个
js:291个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 182 浏览量
2024-08-14
15:13:12
上传
评论
收藏 37.85MB ZIP 举报
温馨提示
悬赏猫任务APP源码优化修复版,程序是php的 可以封装APP 手机电脑自适应 非常的方便, 可运营对接 项目 做后台老板!接单,做单,找商家对接! 安装说明: 导入数据库文件 修改 admin / conn.php 数据库配置 登陆网址后台,修改配置信息 后台登陆地址http://你的网址/admin/login.php 默认登陆帐号:admin 密码123456
资源推荐
资源详情
资源评论
收起资源包目录
APP源码 悬赏猫任务APP源码 优化修复版 可以封装APP (2000个子文件)
GameController.php.bak 62KB
show.php.bak 36KB
VipindexController.php.bak 28KB
fifty.php.bak 19KB
txalipay.php.bak 12KB
show.php.bak 12KB
header.php.bak 12KB
alipay.php.bak 11KB
lianxi.php.bak 8KB
IndexController.php.bak 7KB
footer.php.bak 4KB
show.php.bak 4KB
show.php.bak 4KB
navicat.php.bak 846B
12bf603ddec0d1c9fd3f2da6f0271adb.bin 876B
08cd3466f0640e2a0ac53569da95ffd6.bin 876B
94618f6e71295f6edfb8cabf3d34915c.bin 876B
bf9fdc66b2cbb4cdf8e85d0ecce82ff9.bin 876B
f1b7c079d4c3e91941140d1ee60cffc2.bin 876B
87a11d67c0351eb5735bdaf18ec2e2a9.bin 876B
fa3634b9c18b6c6abf3c5ffe9170cbf1.bin 876B
bb155619b03fa898b686a891c19bd60f.bin 876B
e371a4bcf502d483130bb9c049f7145e.bin 876B
fcbd2f7e8055995b05b3659828918cb7.bin 876B
bfae7a3f81371497f2a18d4e505f06b3.bin 876B
d75e00fd49171f7e664579cab0110677.bin 876B
0882c0278168b094bf14ddb8d04c229a.bin 876B
2611c79ce7ae65d087fed48c0add4c43.bin 876B
1305f36d0b58749221e2778cad362f91.bin 876B
f2271ad7677ea172989494fee14e9157.bin 876B
a96476de00e83c00f9a40a89aee7bfaf.bin 876B
57c83b08edacd41eb0ebc34c4cd1c5e0.bin 363B
state.bin 88B
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
config 1KB
ueditor.css 45KB
ueditor.css 45KB
public.css 36KB
ueditor.min.css 34KB
ueditor.min.css 34KB
inside.css 28KB
newcss.css 28KB
friendcss.css 27KB
jquery-ui-1.7.3.css 27KB
css.css 27KB
jquery-ui.css 26KB
sign.css 23KB
index.css 23KB
video-js.css 22KB
video-js.css 22KB
mall.css 21KB
advert.css 20KB
info.css 20KB
index.css 20KB
image.css 19KB
image.css 19KB
webmaster.css 18KB
public.css 17KB
code.css 16KB
video.css 15KB
video.css 15KB
attachment.css 15KB
attachment.css 15KB
shiwan.css 15KB
jquery.ui.theme.css 14KB
video-js.min.css 11KB
video-js.min.css 11KB
password_find.css 11KB
mly8rd.css 10KB
password_find.css 10KB
jquery.fancybox-1.3.4.css 9KB
zTreeStyle.css 9KB
ggty.css 9KB
green.css 8KB
black.css 8KB
blue.css 8KB
default.css 8KB
web.css 8KB
frireg.css 8KB
Copy of zTreeStyle.css 7KB
shCoreDefault.css 7KB
shCoreDefault.css 7KB
opera.css 7KB
aero.css 7KB
idialog.css 7KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
破碎的天堂鸟
- 粉丝: 6098
- 资源: 1549
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功