ID: 41243 Comment by: made at up dot address Reported By: joel dot alexandre at gmail dot com Status: Open Bug Type: Feature/Change Request PHP Version: 5.x Assigned To: pajoye New Comment:
Please implement the ability to store files uncompressed in a zip archive. Without this, it is not possible to create epub documents using php, as the standards require that a particular file is always added to the archive uncompressed. http://www.idpf.org/2007/ops/OPS_2.0_final_spec.html Previous Comments: ------------------------------------------------------------------------ [2009-05-26 11:31:03] andreidf at yahoo dot com "Future versions will let you specify the compression mode and method." When? :) ------------------------------------------------------------------------ [2007-05-01 18:05:51] paj...@php.net "This applies to all ZIPARCHIVE::FL_* " See: http://www.php.net/manual/en/function.ziparchive-statname.php That's where some of the flags can be used. Each function doc defines which flag or option can be used. "and ZIPARCHIVE::CM_* flags." The compression method (and mode) are read only for now. It is part of the entry info returned by the stat* functions. Future versions will let you specify the compression mode and method. Move to feature request and assign to me (it is in my todo but at least this bug may help other to figure it out or to provide patches :). ------------------------------------------------------------------------ [2007-04-30 16:05:00] joel dot alexandre at gmail dot com Description: ------------ How can the constant ZIPARCHIVE::CM_STORE be used to create a zip archive. That info is missing in the documentation. This applies to all ZIPARCHIVE::FL_* and ZIPARCHIVE::CM_* flags. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41243&edit=1