Jump to content

PHP ZipArchive Filename problem


elkyn

Recommended Posts

Hello folks, I am new to the forum.

 

I am having a problem on SBS 2011 creating a ZipArchive with PHP.

 

Although I have specified the filename to create as "myzip.zip" the file created in the temp folder is "myzip.zip.a10860". If I try again immediately the file becomes "myzip.zip.b10860" and then "myzip.zip.c10860". Of course the numbers will change if I wait a few minutes.

 

I have also tried creating the file first with fopen() then closing it and trying the ZipArchive::OVERWRITE. Still the same result

 

I have tried many standard scripts from the net as well as my own very basic script and always the same result.

 

PHP is set up through Fastcgi.

 

Any thoughts would be appreciated.

 

Michael

Link to comment
https://forums.phpfreaks.com/topic/250775-php-ziparchive-filename-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.