title: PHP: ZipArchive::extractTo doesn't working (Errror)
body: <p>I'm completely at a loss for explaining why this isn't working.</p>
  
  <pre><code>$filename = 'zipfile.zip';
  $za = new ZipArchive();
  $folder = DIR_UPLOAD . $filename;
  $za-&gt;open($folder);
  $za-&gt;extractTo(DIR_UPLOAD . 'unzip/');
  $za-&gt;close();
  </code></pre>
  
  <blockquote>
    <p>Error: ZipArchive::extractTo(): Invalid or uninitialized Zip object</p>
  </blockquote>
  
  <p>I tried so many solution for solving this error, But i still facing this error.</p>