PHP Download Script Problem - Send Me A Quote To Fix It!

3 replies

I need help with a php download script. The problem with the download script is that when the download is done and you open the zip file, the contents have been altered. A file with no extension is placed in the zip file. I therefore extracted that file and decided to add .zip after it and what do you know, that file worked and had the original contents. So for some reason the download file is:

1. stripping the file extension of the original zip file and then placing that file into a zip file named exactly like the original file.
2. then it does the download.

So I was wondering if one of you warriors could look through the download script and uhm fix it? I can send you the download script so you can see what you're dealing with and can send me a quote for this.

I can share a test account on the site that this is live on so you can login and see the downloaded file yourself.

Thank you,
-Oscar
#download #fix #php #problem #script #send
  • Profile picture of the author Emilian
    I am available to do it Sent you a PM.
    {{ DiscussionBoard.errors[177746].message }}
  • Profile picture of the author Sleaklight
    Thanks but someone beat you to it and fixed it. Sorry!
    {{ DiscussionBoard.errors[177928].message }}
  • Profile picture of the author rwil02
    FYI: For anyone else who has this sort of problem.

    The usual cause of the problem you describe is a bug in MS IE where if content compression is enabled at the server, and the file being returned is compressed already. Then IE fails to decompress the file correctly as the server has effectively compressed it twice.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[178208].message }}

Trending Topics