Download header cause zip file to be corrupt


we making download manager application ...


download header cause zip file corrupt


please see code below


header("content-type: $mimetype");

header("content-transfer-encoding: binary");

header("content-length: ".$size);

header("content-disposition: attachment; filename=\"".$a['name']."\"");

readfile("$pathside");
 

if still can't restore .zip file, make use guide below or http://www.zip.openfiletool.com/ zip open file tool


given step step method repair zip files using inbuilt utility available in winrar application:

• start winrar application.

• go file menu , click open.

• through find archive window, select corrupted zip file available in local machine.

• click open.

• initialize repair pressing alt + r. message saying, repairingfile_name.zip appear.

• once repair done, ask save repaired zip file. browse specific location saving selected file.

• enable treat corrupt archive zip box , click ok , click close.
 


Forums Macs Windows, Linux & Others on the Mac


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

OS X El Capitan on Unsupported Macs

[SOLVED] SFOTT usb key not bootable Mavericks

Fernando Torres: One of the all-time greats?