ID:               47324
 Updated by:       paj...@php.net
 Reported By:      kmteoh at hotmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Zip Related
 Operating System: win32 only -w2k
 PHP Version:      5.2.9RC1
 Assigned To:      pajoye


Previous Comments:
------------------------------------------------------------------------

[2009-03-28 15:51:04] paj...@php.net

I've really no idea yet what's wrong. We have made some bug fixes
lately, can you try again a 5.2/5.3 snapshot please?

------------------------------------------------------------------------

[2009-03-28 15:03:11] ivan3k-sc1 at yahoo dot com dot ar

I have the same problem trying to add a file, no mather its location.
Other files are ok.

this is the content of the file
-------------------------------
<?
require_once("inc/core.php");
restore_error_handler();

?>

<hr>
<?$db = Db::getDbConnection();?>
Probando Conexión a BD: <?=($db->IsConnected() ? "OK" : "ERROR");?>

<hr>
--------------------------------

------------------------------------------------------------------------

[2009-03-02 22:45:53] paj...@php.net

ok, I still need the files you are adding to debug this problem. But it
works here, IIS5/6/7 ISAPI or FastCGI.



------------------------------------------------------------------------

[2009-03-02 22:15:15] kmteoh at hotmail dot com

$path = 'C:\\inetpub\\wwwroot\\teohm\\gus\\';  //files to add in
archive

$file = 'C:\\inetpub\\wwwroot\\teohm\\gus.zip';  //target

$zip = new ZipArchive();

if (($zip->open($file, ZipArchive::CREATE)) === TRUE) {
        archive($path, null);  //same function as previous attachment
        $zip->close();

}

i see gus.zip.a03932 and gus.zip.b03932 in
"C:\\inetpub\\wwwroot\\teohm\\"

still not working :(

------------------------------------------------------------------------

[2009-03-02 21:46:30] paj...@php.net

Yes, as it tries to add the temporary files as well (recursive
additions so to say).

Can you try to create the archive in a complete different path:

c:\www\foo\t.zip

and add the content of

c:\www\bar\

for example.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/47324

-- 
Edit this bug report at http://bugs.php.net/?id=47324&edit=1

Reply via email to