Create a file in a zip archive using stream wrapper

后端 未结 2 1736
情书的邮戳
情书的邮戳 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 12:07

    Hey you tired to chmod your folder to 777 in which the ZIP file is in?

    Edit: It looks as though your files are not 777 and your folder. I could be wrong, just woke up. chmod 777 the folder itself and let me know if that doesn't work.

提交回复
热议问题