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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.