note 57677 added to function.zip-entry-compressionmethod

From: Date: Tue, 11 Oct 2005 05:01:27 +0000
Subject: note 57677 added to function.zip-entry-compressionmethod
Groups: php.notes 
Request: Send a blank email to php-notes+get-96807@lists.php.net to get a copy of this message
<? //Archivo a leer $zip = zip_open("prueba.zip"); if ($zip) { while ($zip_entry = zip_read($zip)) { echo "Nombre: " . zip_entry_name($zip_entry) . " "; echo "Tamanio sin comprimir: " . zip_entry_filesize($zip_entry) . " "; echo "Tamanio comprimido: " . zip_entry_compressedsize($zip_entry) . " "; echo "Metodo de compresion: " . zip_entry_compressionmethod($zip_entry) . " "; if (zip_entry_open($zip, $zip_entry, "r")) { echo "Contenidos del archivo: "; $buf = zip_entry_read($zip_entry, zip_entry_filesize($zip_entry)); echo "$buf "; zip_entry_close($zip_entry); } echo " "; } zip_close($zip); } ?> ---- Manual Page -- http://www.php.net/manual/en/function.zip-entry-compressionmethod.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57677 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57677&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57677&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57677&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57677&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57677&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57677&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57677&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57677&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#96807) next »