#23775 [NEW]: error opening a zip file

From: Date: Fri, 23 May 2003 11:39:55 +0000
Subject: #23775 [NEW]: error opening a zip file
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40264@lists.php.net to get a copy of this message
From:             fgarcia at uef dot es
Operating system: Windows 2000
PHP version:      4.3.2RC4
PHP Bug Type:     ZZiplib Related
Bug description:  error opening a zip file


I have a ZIP file (in particular) that WinZip opens correctly but  ZZipLib
doesn't (php_zip.dll). ZZipLib works fine with other zip files.
I get the message:
<b>Warning</b>:  zip_open() Cannot open zip archive /tmp/zz.zip in
<b>D:\MetraNet\scripts\descargadatosend.php</b> on line <b>9</b><br />

The script:
<?
if (!extension_loaded("zip")) @dl("php_zip.dll");
$zi=zip_open("/tmp/zz.zip");
?>


The zip file:

begin 0666 zz.zip
M4$L#!!0"(&UGMRX``````````````!/```13I<7%!-0U-<7$1I<F5C
M=&]R:6]S7T%P<%Q<16YT<F%D85Q<,#X,EQ034-,245<,#X,E]034-,245?
M,#X,E\R,#S,#4R,"XQ+GII<OP9F818>PAO-6_08D(W$+M:Q<0$^#H'
MQ\2X9!:E)I?D%V7F%\<[%A3$Q+CFE10EIB3&Q!@86!B!%/EXNH+9\1!V/)AM
M9&!@;&!J9*!GF-MER'780(#EM\._@E0NX?>>94GIJ[LG]'!Z'%/J_?]_`L?U
M1MVT]L;9F9,/6_C?^SS[^B35HS&K3@H5W]$U.1R0)?C_Q9(EOV\7;:C=ZL=W
M.U?3?;'@@0LGW_)4VDW:R!1GN^!\Y/&%)]\V?PE_?:S7Z_B*E*79KOT+V[D^
M6+G'Z=L'>+-S<#^)D:H!>FDM$=X,S*),""\C2SGS8.J!@(=ZL;"C&8&P
M$DA_!5L`%!+!PBN=&D@$(0!!02P$"%4@"!M9[<NKG1@)(!
M`"$0`3P`````````````````````13I<7%!-0U-<7$1I<F5C=&]R:6]S
M7T%P<%Q<16YT<F%D85Q<,#X,EQ034-,245<,#X,E]034-,245?,#`X,E\R
C,#S,#4R,"XQ+GII<%!+!08````0!'T`!_0````!,
`
end

-- 
Edit bug report at http://bugs.php.net/?id=23775&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23775&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23775&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23775&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23775&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23775&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23775&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23775&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23775&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23775&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23775&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23775&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23775&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23775&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23775&r=gnused



Thread (4 messages)

« previous php.bugs (#40264) next »