ID: 17382 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: ZZiplib Related Operating System: Linux 2.2.19 PHP Version: 4.1.2 New Comment:
Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php This is fixed in 4.2.1. Derick Previous Comments: ------------------------------------------------------------------------ [2002-05-23 06:32:42] [EMAIL PROTECTED] I compiled PHP with zip-support and a script, similar as the script in the PHP manual, does not work. This script gives "Document contains no data". ------ Script: <h2>Zip test</h2> <?php $filepath = "/home/streamedit/www/beta/icons.zip"; $zip = zip_open( $filepath ); if ( $zip ) { while ($zip_entry = zip_read($zip)) { echo zip_entry_name( $zip_entry )."<br>\n"; } zip_close($zip); } ?> ------ end script ------ $ ls -l /home/streamedit/www/beta/icons.zip -rw-r--r-- 1 streamed streamed 4436 May 23 11:58 /home/streamedit/www/beta/icons.zip ------ uname -a Linux northshore 2.2.19 #1 Thu Nov 1 19:52:06 EST 2001 i686 unknown ------ phpinfo() Configure Command: './configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--with-zip' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17382&edit=1