// ------------------------------------------------------------------------- ------- // Function : PclZip() // Description : // Creates a PclZip object and set the name of the associated Zip archive // filename. // Note that no real action is taken, if the archive does not exist it is not // created. Use create() for that.
// ------------------------------------------------------------------------- ------- Example: $zipfile="uploaded.zip"; $zip=new PclZip($zipfile); $file_list= $zip->listContent(); $file_list[$index] -> ["filename"] (not sure) -> ["stored_filename"] (filename in archive) -> ["size"] (uncompressed size) -> ["compressed_size"] (name says it all) -> ["index"] (index in archive) -> ["mtime"] (last mod) $zip->extractByIndex($index_to_extract,"./folder_to_extract_into/"); -- // DvDmanDT MSN: dvdmandt€hotmail.com Mail: dvdmandt€telia.com ########################## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http://us.mcafee.com/virusInfo/default.asp?id=helpCenter&hcName=swen http://securityresponse.symantec.com/avcenter/venc/data/[EMAIL PROTECTED] ########################## "David T-G" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php