Hiddenbrains.com ::: display a previously generated PDF file ........ - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Hiddenbrains.com ::: display a previously generated PDF file ........

hiddenbrains1hiddenbrains1 Posts: 1Member
Hiddenbrains.com :::

The idea is to display a previously generated PDF file in a new window,and then delete the PDF file by unlink.
Any idea?

[email protected]

[email protected]-------
offshore outsourcing india Web Designs & Development at HiddenBrains.com

Comments

  • JonathanJonathan Posts: 2,914Member
    : 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.");

  • Rachana12Rachana12 Posts: 1Member
    Hey hiddenbrains,
    even i have query related to your question so if you get answer for it please reply me.
    Regards,
    http://www.anylinuxwork.com/technology/php-programming.html
Sign In or Register to comment.