Php class zip unzip
The class can extract individual files, one at a time, specifying their file names, or extract all at once into a given directory. There is another class that can pack files into new ZIP archives. The classes use the usual PHP file access functions and gzip extension functions. zip_entry_filesize — Retrieve the actual file size of a directory entry; zip_entry_name — Retrieve the name of a directory entry; zip_entry_open — Open a directory entry for reading; zip_entry_read — Read from an open directory entry; zip_open — Open a ZIP file archive; zip_read — Read next entry in a ZIP . There is a limit withing PHP (which seems to have been addressed in later versions; seems ok on a different server). If you try to open a zip file with more than 65, files in it (in my case it had , files) then you cannot access the later files.