Hi
To download a zip file I use this :
header("Content-type: $mimeType");
header("Content-Disposition: $attachment filename=file.zip");
header("Content-Transfer-Encoding: binary");
$ctg = fopen("$pathFile.zip","r");
$contents = fread($ctg,filesize("$nameFile.zip"));
echo($contents);
fclose($ctg);
exit();
How can I do to download 2 zip files althought I think it is impossible to reload this page with header(Location: ...) because of the echo($contents); Can someone help me please ?? Thanks