Вы не зашли.
Главная » PHP » PclZip 2.7
#1. Gemorroj On (107)
Administrator
2009.03.30 12:12
список нововведений
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.

Официальный сайт PclZip
лично меня очень радует, что теперь можно выбрать работать с архивами в оперативной памяти, либо используя временные файлы.
#2. НЕЗНАЙКА Off (11)
Участник
2009.03.31 21:09
A что было раньше? Файлы сохранялись и опять работа с ними?
ДАУН-Данная Аватара Унаследована Незнайкой
#3. Gemorroj On (107)
Administrator
2009.03.31 22:10
раньше использовались только временные файлы, на сколько я понимаю.
Страниц: 1
Главная
WEB
PunBB Mod v0.6.2
0.014 s