Thanks for such a quick supply, Hmmm I tried using what you suggested and i seemed to get an error, heres the code again
<?php
header("Content-type: application/pdf");
header("Content-disposition: inline; filename=test.pdf");
header("Content-length: " . strlen($data));
$fd = fopen("test.pdf", "r");
fpassthru($fd);
fclose($fd);
?>
it gives me a pop up error which says file does not begin with "%pdf-"
the file is named test.pdf and is in the same directory as the script
anymore suggestions?
Thanks again!