<?php 

session_start();

$base_url= $_SESSION["BASE_URL"];

$file_url = $base_url.'/module/exam/report/mark_sheet.pdf';
header('Content-Type: application/pdf');
header("Content-Transfer-Encoding: Binary");
header("Content-disposition: attachment; filename=mark_sheet.pdf");
readfile($file_url);


?>