Create a file in a zip archive using stream wrapper

后端 未结 2 1737
情书的邮戳
情书的邮戳 2021-01-23 11:24

I want to use a zip stream wrapper in PHP to create zip file or add files in a zip archive. Here are my example :



        
2条回答
  •  爱一瞬间的悲伤
    2021-01-23 11:55

    zip:// stream wrapper does not support writes: http://php.net/manual/en/wrappers.compression.php

    Besides, Zip archives cannot be written in a stream because the CRC comes before the compressed data

提交回复
热议问题