ID: 43652 Updated by: [EMAIL PROTECTED] Reported By: goetas at lignano dot it -Status: Open +Status: Assigned Bug Type: Zip Related Operating System: Windows XP/Slackware PHP Version: 5.2.5 -Assigned To: +Assigned To: pajoye New Comment:
Zip streams in write mode are not yet supported. I'm working on a stream abstraction layer for the underlying library. Previous Comments: ------------------------------------------------------------------------ [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