I have a zip file that is uploaded to my server daily. It seems that this zip file isn't formed properly because when I open it with my IZarc (my desktop zip application) it warns me that there is a bad zip header found. I can go ahead and open the file if I tell IZarc to go ahead and open it.
When I attempt to open the file with PHP like this:
$zip_file = new ZipArchive();
$zip_file->open($zip_path);
PHP returns error 19 (ZIP_ER_NOZIP).
Is there a way to force PHP to go ahead and open it? Or maybe there is another PHP extension that is more fault tolerant.
Thanks in advance for your help, Jeff