to view a pdf I use the script
<?php
// Store the file name into variable
$file = 'filename.pdf';
$filename = 'filename.pdf';
// Header content type
header('Content-type: application/pdf');
header('Content-Disposition: inline; filename="' . $filename . '"');
header('Content-Transfer-Encoding: binary');
header('Accept-Ranges: bytes');
// Read the file
@readfile($file);
?>
actually when i open the page in the source i have:
< title >Report1 - http://127.0.0.1:8091/scriptcase/app/Mint/pdf/ < /title >
i want only
< title >Report1 - < /title >
how can i set the page title?