Unzip dengan PHP


dapet dari http://www.webhostingtalk.com/archive/index.php/t-277530.html

you can unzip a password protected file with PHP in Unix….(I haven’t tested it in Windows..or any other platform)…run the following system command….

system(“`which unzip` -P Password $pathtozipfle -d $destinationdir”,$ret_val)….

if everything runs properly you will get back 0 for $ret_val..which means complete success.(info-zip.org)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s