Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 610
soo Avatar asked Apr 13 '11 18:04

soo


1 Answers

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

echo shell_exec('unzip -P password file.zip');
like image 88
strauberry Avatar answered Sep 17 '22 18:09

strauberry