#30326 [Opn->Fbk]: "zip_open" cannot open file

From: Date: Tue, 05 Oct 2004 23:18:07 +0000
Subject: #30326 [Opn->Fbk]: "zip_open" cannot open file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67159@lists.php.net to get a copy of this message
ID: 30326 Updated by: iliaa@php.net Reported By: adamsbarker at hotmail dot com -Status: Open +Status: Feedback Bug Type: ZZiplib Related Operating System: Windows XP PHP Version: 5.0.2 New Comment: Is the script being ran from the same directory as the one where the zip file is? Previous Comments: ------------------------------------------------------------------------ [2004-10-05 02:45:02] adamsbarker at hotmail dot com 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 this bug report at http://bugs.php.net/?id=30326&edit=1

« previous php.bugs (#67159) next »