Req #41243 [Asn]: How to use ZIPARCHIVE::CM_STORE
| From: | frozenfire@php.net | Date: | Wed, 18 Jul 2012 16:54:16 +0000 |
| Subject: | Req #41243 [Asn]: How to use ZIPARCHIVE::CM_STORE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172056@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=41243&edit=1
ID: 41243
Updated by: frozenfire@php.net
Reported by: joel dot alexandre at gmail dot com
Summary: How to use ZIPARCHIVE::CM_STORE
Status: Assigned
Type: Feature/Change Request
Package: Zip Related
PHP Version: 5.x
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
Any progress on this, pajoye? Given the number of votes on this bug, and its age,
I think this needs to be addressed as soon as possible.
I encountered this bug today, and it's quite frustrating to not be able to set
the compression level.
Previous Comments:
------------------------------------------------------------------------
[2012-01-23 10:57:54] mpeters at domblogger dot net
It is imperative that this bug be addressed and fixed.
The epub specification requires that the first file in the zip archive be named
mimetype and be uncompressed.
Until this bug is fixed, it is thus impossible to create a valid epub file in
pure php w/o executing system commands (forbidden in many environments).
*maybe* it could be worked around by having a skeleton zip archive with the
mimetype file in it uncompressed, but really, we need to be able to create a
fresh zip archive, add that file, with no compression.
------------------------------------------------------------------------
[2010-07-02 14:20:03] php at atis dot id dot lv
This would be quite nice for me too. No compression could be useful for creating large archives of
multiple files on the fly.
------------------------------------------------------------------------
[2010-06-04 17:44:31] shockmaker at hotmail dot com
I'm looking to create a zip file with a compression level of 0 on some files.
So this feature is essential for me.
------------------------------------------------------------------------
[2010-03-16 04:53:19] jotunbane at gmail dot com
3 years and still no solution to this?
Dude you are holding back an entire industry here (exaggeration, I know).
Can somebody come up with a workaround for this??
------------------------------------------------------------------------
[2009-12-13 16:49:59] made at up dot address
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
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=41243
--
Edit this bug report at https://bugs.php.net/bug.php?id=41243&edit=1