Jump to content

chetanmadaan

New Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by chetanmadaan

  1. I am using a simple PHP script to download downloads and then offer a zip file. As soon as the zip is parsed through the PHP... unique hash of zip changes and it can't be extract using the unzip function PHP. although, it works fine with windows to extract it... but the hash changes. I am using the following headers... Anything i can do to fix this. header("Content-type: application/zip"); header("Content-Disposition: attachment; filename=\"".$file."\""); header("Content-Length: ".filesize($filepath.$file)); ob_end_flush(); $filepath and $file containts the physical path of the file. Any tips? Thank you,
×
×
  • 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.