ID: 43652 Comment by: fin dot bub at gmail dot com Reported By: goetas at lignano dot it Status: Assigned Bug Type: Feature/Change Request Operating System: Windows XP/Slackware PHP Version: 5.2.5 Assigned To: pajoye New Comment:
Same problem stays in 5.2.9. Previous Comments: ------------------------------------------------------------------------ [2007-12-21 14:13:30] paj...@php.net Zip streams in write mode are not yet supported. I'm working on a stream abstraction layer for the underlying library. ------------------------------------------------------------------------ [2007-12-21 13:08:09] goetas at lignano dot it Description: ------------ trying to create a zip file directly on standard output Reproduce code: --------------- $zip = new ZipArchive(); $zip->open("php://output", ZIPARCHIVE::CREATE); $zip->addFromString("testfile.txt", "This is a test"); $zip->close(); Expected result: ---------------- i expect a zip file sent on standard output Actual result: -------------- no output ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43652&edit=1