title: How do I rename files in PclZip?
body: <p>How do I rename the files I add to the archive? I have tried the following and it adds a file to the archive but I can't figure out how do rename.  </p>
  
  <pre><code>$archive = new PclZip('archive.zip');
  $list = $archive-&gt;add($filepath);
  </code></pre>
  
  <p>I know that I can use PCLZIP_ATT_FILE_NAME and PCLZIP_ATT_FILE_NEW_FULL_NAME but the example below uses $archive->create, not $archive->add.</p>
  
  <p><a href="http://www.phpconcept.net/pclzip/news" rel="nofollow noreferrer">http://www.phpconcept.net/pclzip/news</a></p>