getArchivePath(); header('Content-Type: application/force-download; name="'.basename($file).'"'); header('Content-Disposition: attachment; filename="'.basename($file).'"'); header('Content-Description: File Transfer'); header('Content-Transfer-Encoding: binary'); header('Content-Length: '.filesize($file).''); header('Cache-Control: no-cache, must-revalidate'); header('Pragma: no-cache'); header('Expires: 0'); readfile($file); } catch (Exception $e) { echo $e->getMessage(); } exit(0); ?>