Lines Matching refs:zip
13 $zip = new ZipArchive; variable
14 $zip->open($name, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE);
15 $zip->addFile(__FILE__, $file);
16 $zip->setEncryptionName($file, ZipArchive::EM_AES_256, $pass);
17 $zip->close();
21 $zip = new ZipArchive; variable
22 $zip->open($name, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE);
23 $zip->setPassword($pass);
24 $zip->addFile(__FILE__, $file);
25 $zip->setEncryptionName($file, ZipArchive::EM_AES_256);
26 $zip->close();
30 $zip->open($name);
31 print_r($zip->statName($file));
35 $zip->setPassword($pass);
36 $text = $zip->getFromName($file);
38 $zip->close();