// --------------------------------------------------------------------------------
// 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
phpMyAdmin-3.4.1-all-languages
需积分: 0 184 浏览量
更新于2011-06-02
收藏 5.69MB ZIP 举报
**phpMyAdmin 知识点详解**
`phpMyAdmin` 是一个基于Web的MySQL数据库管理工具,用PHP语言编写,广泛应用于网站管理员和开发者手中,用于便捷地进行MySQL数据库的创建、管理及操作。在本案例中,我们讨论的是`phpMyAdmin-3.4.1-all-languages`版本,这是一款较旧但仍然流行的版本,它包含了所有语言的支持,使得全球用户都能方便地使用。
1. **版本介绍**
`phpMyAdmin-3.4.1` 是`phpMyAdmin`的某个稳定版本,发布于2011年。尽管此版本已不再是最新的,但对于那些需要稳定性和兼容性的项目,它仍然是一个可靠的选择。这个版本提供了许多关键功能,如数据查询、表管理、用户管理、备份和恢复等。
2. **多语言支持**
“all-languages”表示该版本包含了所有可用的语言文件,这意味着无论用户来自哪个国家,都可以选择自己的母语进行操作,提高了用户体验和工作效率。这使得`phpMyAdmin`成为了一个国际化的工具,适用于全球范围内的开发和管理任务。
3. **主要功能**
- **数据库管理**:用户可以创建、修改、删除数据库,以及执行SQL查询来操作数据。
- **表操作**:包括创建、修改和删除表,以及导入、导出数据,进行数据排序和筛选。
- **用户管理**:添加、删除和管理MySQL用户及其权限。
- **备份与恢复**:提供数据库备份和恢复功能,确保数据安全。
- **设计视图**:允许用户以图形方式创建和修改表结构。
- **关系视图**:支持在不同表之间建立外键关系,实现数据关联。
- **报表和图表**:自动生成数据统计报告和图表,帮助分析数据。
4. **安装与配置**
使用`phpMyAdmin`通常需要一个运行PHP和MySQL的服务器环境,例如Apache或Nginx。下载`phpMyAdmin`后,解压到服务器的适当目录,配置`config.inc.php`文件以设置数据库连接信息,然后通过浏览器访问即可。
5. **安全性考虑**
尽管`phpMyAdmin`提供了方便,但也可能成为黑客攻击的目标。因此,建议将它放置在非公开的子目录下,启用HTTP基本身份验证,或者使用防火墙限制访问IP地址。
6. **Readme-说明.htm**
这个文件通常是软件的阅读指南,包含关于如何安装、配置、使用`phpMyAdmin-3.4.1`的详细信息,包括任何已知问题和解决方案,用户应仔细阅读以获取最佳体验。
7. **持续更新与版本升级**
考虑到安全性和新功能,建议用户定期升级到最新版本的`phpMyAdmin`,以获取更好的性能和安全防护。虽然`3.4.1`版本稳定,但现代的数据库管理需求可能会要求更高级的功能和修复。
`phpMyAdmin`是一个强大的MySQL管理工具,尤其适合对数据库操作不熟悉的用户。通过`phpMyAdmin-3.4.1-all-languages`,用户可以以多种语言进行操作,实现高效、直观的数据库管理。在使用时,应确保遵循最佳实践,保证系统的安全性和数据的完整性。