- header: documentation ( source)
<?php
class Pdf extends ci_controller
{
function index(){
$this->load->helper(array('My_Pdf'));
include("CONN.pdf");
header("Content-type: application/pdf");
header('Content-disposition: inline; filename="' . $fv->getFileName() . '"');
}
}
?>