Machine-readable instructions that direct computer processors to download and render images of cats from the internet.

125 Soru Tümünü görüntüle

Download header cause zip file to be corrupt

We are making a download manager application ...

Download header cause zip file to be corrupt

Please see the code below

header("Content-type: $mimeType");

header("Content-Transfer-Encoding: Binary");

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

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

readfile("$pathside");

Yanıtlandı! View the answer Ben de bu sorunu yaşıyorum

Bu iyi bir soru mu?

Puan 0
Yorum Ekle
Spread Fixmas Cheer
Get $12 off your purchase of $50 or more with code FIXMAS12
Spread Fixmas Cheer
Get $12 off your purchase of $50 or more with code FIXMAS12

1 Cevap

Filtre ölçütü:
Seçilen Çözüm

Please do the following to attempt to repair a Zip file with Windows:

  1. Click Start, click All Programs, and click Accessories
  2. Right click Command Prompt and choose Run as administrator
  3. Change directories to the folder where the corrupted Zip file is located
  4. Type: "C:\Program Files\WinZip\wzzip" -yf zipfile.zip

If didn't help, tha't might be your .zip archive was seriously corrupted, you may try http://www.zip.openfiletool.com/ ZIP Open File Tool

Bu yanıt yardımcı oldu mu?

Puan 1
Yorum Ekle

Yanıtını ekle

dwaynebattle sonsuza kadar minnettar olacak.
İstatistikleri Görüntüle:

Son 24 Saat: 1

Son 7 Gün: 12

Son 30 Gün: 44

Her zaman: 1,776