Searched defs:zip (Results 1 - 6 of 6) sorted by relevance
| /PHP_5_3/ext/zip/examples/ |
| H A D | create.php | 3 if (!extension_loaded('zip')) { 4 dl('zip.so'); 7 unlink("./test112.zip"); 8 $zip = new ZipArchive(); variable 9 $filename = "./test112.zip"; 11 if (!$zip->open($filename, ZIPARCHIVE::CREATE)) { 17 $zip->addFromString("testfilephp.txt" . time(), "#1 This is a test string added as testfilephp.txt.\n"); 18 $zip->addFromString("testfilephp2.txt" . time(), "#2 This is a test string added as testfilephp2.txt.\n"); 19 $zip->addFile($thisdir . "/too.php","/testfromfile.php"); 20 echo "numfiles: " . $zip [all...] |
| H A D | extract.php | 2 if (!extension_loaded('zip')) { 3 dl('zip.so'); 6 $zip = new ZipArchive(); variable 8 echo $zip->filename . "\n"; 9 $zip->open("test.zip"); 11 $zip->addFile("./modules/"); 12 $zip->addFile("./testempty"); 14 echo $zip->status . "\n"; 15 echo $zip [all...] |
| H A D | extractAll.php | 2 $zip = new ZipArchive(); variable 4 echo $zip->filename . "\n"; 5 $zip->open("test.zip"); 7 $zip->addFile("./modules/"); 8 $zip->addFile("./testempty"); 10 echo $zip->status . "\n"; 11 echo $zip->statusSys . "\n"; 13 echo $zip->numFiles . "\n"; 14 echo $zip [all...] |
| H A D | oldapi.php | 3 $zip = zip_open('examples/test1.zip'); variable 4 var_dump($zip); 6 if ($zip) { 8 while ($zip_entry = zip_read($zip)) {
|
| /PHP_5_3/ext/zip/lib/ |
| H A D | zipint.h | 39 #include "zip.h" 107 typedef struct zip_source *(*zip_compression_implementation)(struct zip *, 110 typedef struct zip_source *(*zip_encryption_implementation)(struct zip *, 133 ZIP_EXTERN(struct zip_source *)zip_source_crc(struct zip *, struct zip_source *, 135 ZIP_EXTERN(struct zip_source *)zip_source_deflate(struct zip *, 139 ZIP_EXTERN(struct zip_source *)zip_source_layered(struct zip *, 144 ZIP_EXTERN(struct zip_source *)zip_source_pkware(struct zip *, 162 /* state of change of a file in zip archive */ 185 /* zip archive, part of API */ 187 struct zip { 183 struct zip { struct [all...] |
| /PHP_5_3/ext/zip/ |
| H A D | php_zip.c | 33 #include "lib/zip.h" 138 static int php_zip_extract_file(struct zip * za, char *dest, char *file, int file_len TSRMLS_DC) 307 static int php_zip_add_file(struct zip *za, const char *filename, size_t filename_len, 449 static int php_zip_status(struct zip *za TSRMLS_DC) /* {{{ */ 458 static int php_zip_status_sys(struct zip *za TSRMLS_DC) /* {{{ */ 467 static int php_zip_get_num_files(struct zip *za TSRMLS_DC) /* {{{ */ 487 static char * php_zipobj_get_zip_comment(struct zip *za, int *len TSRMLS_DC) /* {{{ */ 741 ZEND_ARG_INFO(0, zip) 745 ZEND_ARG_INFO(0, zip) 803 typedef int (*zip_read_int_t)(struct zip *z 1254 zval * zip; local 1315 zval * zip; local [all...] |
Completed in 15 milliseconds