#30326 [NEW]: "zip_open" cannot open file

From: Date: Tue, 05 Oct 2004 00:45:04 +0000
Subject: #30326 [NEW]: "zip_open" cannot open file
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67113@lists.php.net to get a copy of this message
From: adamsbarker at hotmail dot com Operating system: Windows XP PHP version: 5.0.2 PHP Bug Type: ZZiplib Related Bug description: "zip_open" cannot open file Description: ------------ when using the following code: zip_open('file_name.zip'); i get the following error: ---------------- Warning: zip_open() [function.zip-open]: Cannot open zip archive file_name.zip in C:\test.php on line 1 ---------------- the "zip file" and "php script" are in the same directory when i put in the full directory of the zip file, such as "C:\file_name.zip", the file is opened and everything works as expected. i don't think this should be how it works as all other functions (ie, include()) don't need the full directory! i am using the latest stable version 5.0.3-dev and PECL extensions -- Edit bug report at http://bugs.php.net/?id=30326&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30326&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30326&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30326&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30326&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30326&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30326&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30326&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30326&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30326&r=support Expected behavior: http://bugs.php.net/fix.php?id=30326&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30326&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30326&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30326&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30326&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30326&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30326&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30326&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30326&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30326&r=mysqlcfg

« previous php.bugs (#67113) next »