Advertisement
brasofilo

php unzip

Oct 20th, 2011
751
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.22 KB | None | 0 0
  1. <?php
  2. // uses unzip command just like in commandline
  3. // usage: yourdomain.com/yourfolder/unzip.php?file=FILENAME (without extension)
  4. //
  5. $file = 'unzip '.$_GET['f'].'.zip';
  6. echo system($file,$output);
  7. print_r($output);
  8. ?>
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement