downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/book.zip.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/refs.compression.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'book.zip.php',
   
1 => 'Zip',
  ),
 
'up' =>
  array (
   
0 => 'refs.compression.php',
   
1 => 'Compression and Archive Extensions',
  ),
 
'prev' =>
  array (
   
0 => 'function.rar-open.php',
   
1 => 'rar_open',
  ),
 
'next' =>
  array (
   
0 => 'intro.zip.php',
   
1 => 'Introduction',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1 class="title">Zip</h1>
 
 
 
 
 
 







 





 






 


 



 
 







<ul class="chunklist chunklist_book"><li><a href="intro.zip.php">Introduction</a></li><li><a href="zip.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="zip.requirements.php">Requirements</a></li><li><a href="zip.installation.php">Installation</a></li><li><a href="zip.configuration.php">Runtime Configuration</a></li><li><a href="zip.resources.php">Resource Types</a></li></ul></li><li><a href="zip.constants.php">Predefined Constants</a></li><li><a href="zip.examples.php">Examples</a></li><li><a href="class.ziparchive.php">ZipArchive</a> — The ZipArchive class<ul class="chunklist chunklist_book chunklist_children"><li><a href="function.ziparchive-addemptydir.php">ZipArchive::addEmptyDir</a> — Add a new directory</li><li><a href="function.ziparchive-addfile.php">ZipArchive::addFile</a> — Adds a file to a ZIP archive from the given path</li><li><a href="function.ziparchive-addfromstring.php">ZipArchive::addFromString</a> — Add a file to a ZIP archive using its contents</li><li><a href="function.ziparchive-close.php">ZipArchive::close</a> — Close the active archive (opened or newly created)</li><li><a href="function.ziparchive-deleteindex.php">ZipArchive::deleteIndex</a> — delete an entry in the archive using its index</li><li><a href="function.ziparchive-deletename.php">ZipArchive::deleteName</a> — delete an entry in the archive using its name</li><li><a href="function.ziparchive-extractto.php">ZipArchive::extractTo</a> — Extract the archive contents</li><li><a href="function.ziparchive-getarchivecomment.php">ZipArchive::getArchiveComment</a> — Returns the Zip archive comment</li><li><a href="function.ziparchive-getcommentindex.php">ZipArchive::getCommentIndex</a> — Returns the comment of an entry using the entry index</li><li><a href="function.ziparchive-getcommentname.php">ZipArchive::getCommentName</a> — Returns the comment of an entry using the entry name</li><li><a href="function.ziparchive-getfromindex.php">ZipArchive::getFromIndex</a> — Returns the entry contents using its index.</li><li><a href="function.ziparchive-getfromname.php">ZipArchive::getFromName</a> — Returns the entry contents using its name.</li><li><a href="function.ziparchive-getnameindex.php">ZipArchive::getNameIndex</a> — Returns the name of an entry using its index</li><li><a href="function.ziparchive-getstatusstring.php">ZipArchive::GetStatusString</a> — Returns the status error message, system and/or zip messages.</li><li><a href="function.ziparchive-getstream.php">ZipArchive::getStream</a> — Get a file handler to the entry defined by its name (read only).</li><li><a href="function.ziparchive-locatename.php">ZipArchive::locateName</a> — Returns the index of the entry in the archive</li><li><a href="function.ziparchive-open.php">ZipArchive::open</a> — Open a ZIP file archive</li><li><a href="function.ziparchive-renameindex.php">ZipArchive::renameIndex</a> — Renames an entry defined by its index</li><li><a href="function.ziparchive-renamename.php">ZipArchive::renameName</a> — Renames an entry defined by its name</li><li><a href="function.ziparchive-setarchivecomment.php">ZipArchive::setArchiveComment</a> — Set the comment of a ZIP archive</li><li><a href="function.ziparchive-setcommentindex.php">ZipArchive::setCommentIndex</a> — Set the comment of an entry defined by its index</li><li><a href="function.ziparchive-setCommentName.php">ZipArchive::setCommentName</a> — Set the comment of an entry defined by its name</li><li><a href="function.ziparchive-statindex.php">ZipArchive::statIndex</a> — Get the details of an entry defined by its index.</li><li><a href="function.ziparchive-statname.php">ZipArchive::statName</a> — Get the details of an entry defined by its name.</li><li><a href="function.ziparchive-unchangeall.php">ZipArchive::unchangeAll</a> — Undo all changes done in the archive.</li><li><a href="function.ziparchive-unchangearchive.php">ZipArchive::unchangeArchive</a> — Revert all global changes done in the archive.</li><li><a href="function.ziparchive-unchangeindex.php">ZipArchive::unchangeIndex</a> — Revert all changes done to an entry at the given index.</li><li><a href="function.ziparchive-unchangename.php">ZipArchive::unchangeName</a> — Revert all changes done to an entry with the given name.</li></ul></li><li><a href="ref.zip.php">Zip Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.zip-close.php">zip_close</a> — Close a ZIP file archive</li><li><a href="function.zip-entry-close.php">zip_entry_close</a> — Close a directory entry</li><li><a href="function.zip-entry-compressedsize.php">zip_entry_compressedsize</a> — Retrieve the compressed size of a directory entry</li><li><a href="function.zip-entry-compressionmethod.php">zip_entry_compressionmethod</a> — Retrieve the compression method of a directory entry</li><li><a href="function.zip-entry-filesize.php">zip_entry_filesize</a> — Retrieve the actual file size of a directory entry</li><li><a href="function.zip-entry-name.php">zip_entry_name</a> — Retrieve the name of a directory entry</li><li><a href="function.zip-entry-open.php">zip_entry_open</a> — Open a directory entry for reading</li><li><a href="function.zip-entry-read.php">zip_entry_read</a> — Read from an open directory entry</li><li><a href="function.zip-open.php">zip_open</a> — Open a ZIP file archive</li><li><a href="function.zip-read.php">zip_read</a> — Read next entry in a ZIP file archive</li></ul></li></ul></div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites