How can I extract a password protected .zip file from within my PHP application?

后端 未结 2 719
长发绾君心
长发绾君心 2020-12-31 11:32

How can I extract a password protected .zip file from within my PHP application?

2条回答
  •  难免孤独
    2020-12-31 12:16

    You can use this (assuming your server has the "right" os :-))

    echo shell_exec('unzip -P password file.zip');
    

提交回复
热议问题