title: How to unzip files using PHP if safe mode is on and you can't install extensions?
body: <p>Are there any PHP-scripts out there that can unzip regular zip-files? The requirements we have is that we must run with safe_mode on and we're not allowed to install any extensions to enable this functionality. Thus, any functionality must be regular php scripts.</p>
  
  <p>Any thoughts?</p>
  
  <hr>
  
  <p>EDIT: Unfortunately, neither of the posted solution works for us. We may not change the safe_mode requirement unless switching hosts, which is currently not an option.</p>