readfile(
$attachment_location
);
die
();
// stop execution of further script because we are only outputting the pdf
}
else
{
('Error: File not found.');
} } ?>