i want to show the content of a pdf file in popup window
but when i use below code ,it ask me to download pdf file
i just want to show it instead download.
Code:
$path = "path of pdf ";
$| = 1;
open(PDF, "$path") or die "could not open PDF [$!]";
binmode PDF;
my $output = do { local $/; <PDF> };
close(PDF);
print "Content-Type: