ZipArchive::getFromIndex Returns the entry contents using its index. &reftitle.description; mixedZipArchive::getFromIndex intindex intflags Returns the entry contents using its index. &reftitle.parameters; index Index of the entry flags The flags to use to open the archive. the following values may be ORed to it. ZIPARCHIVE::FL_UNCHANGED ZIPARCHIVE::FL_COMPRESSED &reftitle.returnvalues; Returns the contents of the entry on success or &false; on failure. &reftitle.examples; Get the file contents open('test.zip') === TRUE) { echo $zip->getFromIndex(2); $zip->close(); } else { echo 'failed'; } ?> ]]>