如何从PHP应用程序中提取受密码保护的.zip文件? [英] How can I extract a password protected .zip file from within my PHP application?
本文介绍了如何从PHP应用程序中提取受密码保护的.zip文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从我的PHP应用程序中提取受密码保护的 .zip
文件?
How can I extract a password protected .zip
file from within my PHP application?
推荐答案
您可以使用它(假设您的服务器具有正确的"操作系统:-))
You can use this (assuming your server has the "right" os :-))
echo shell_exec('unzip -P password file.zip');
这篇关于如何从PHP应用程序中提取受密码保护的.zip文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文