
<?php
require_once("../Connections/constants.php");
$name1= $_GET['nama'];
$name = "http://localhost:90/GAB/plans/".$name1;
//header('Content-Description: File Transfer');
//header('Content-Type: application/force-download');
//header("Content-Disposition: attachment; filename=\"" . basename($name) . "\";");
//header('Content-Transfer-Encoding: binary');
//header('Expires: 0');
//header('Cache-Control: must-revalidate');
//header('Pragma: public');
//header('Content-Length: ' . filesize($name));
//ob_clean();
//flush();
//
//
//
//readfile("http://localhost:90/GAB/plans/".$name1); //showing the path to the server where the file is to be download
//exit;
?>
