: Hiddenbrains.com :::
"HiddenBrains: We aren't dumb really, we just hide what we know."
: The idea is to display a previously generated PDF file in a new
: window,and then delete the PDF file by unlink.
New window will have to be opened client side, by JavaScript window.open if you want to customise it a bit, or just with a normal link and setting the target to _blank.
In that PHP script serve the PDF file through the script (send an appropriate HTTP content type header for a PDF file, then open the file and send it to the browser). Close the file, unlink it. Done.
Jonathan
###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");