StageID . '.pdf'; //echo $PathMedia,"
"; //echo $FileName,"
"; header('Content-type: application/pdf'); header('Content-Disposition: attachment; filename="'.$Stage->StagePDF.'"'); $len = filesize($FileName); header("Content-Length: $len"); readfile($FileName);}mysql_close();?>