PhpConcept

Developers Tools

  • Increase font size
  • Default font size
  • Decrease font size
Home PclZip User Guide

PclZip User Guide - PCLZIP_OPT_NO_COMPRESSION

Print PDF

PCLZIP_OPT_NO_COMPRESSION

This argument gives you the ability to add a file in an archive without compressing the file.

    $archive = new PclZip('test.zip');
    
$list $archive->add("data/file.txt"PCLZIP_OPT_NO_COMPRESSION);
    if (
$list == 0) {
      echo 
"ERROR : ".$archive->errorInfo(true);
    }
 

 

[Optional Arguments List]

 

Last Updated on Friday, 18 December 2009 13:17