PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1848
Number of posts: 5016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Hiddenbrains.com ::: display a previously generated PDF file ........ Posted by hiddenbrains1 on 3 Jan 2004 at 11:10 AM
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?

Vishal@hiddenbrains.com

------------------------------------------------------------------------
offshore outsourcing india Web Designs & Development at HiddenBrains.com
Report
Re: Hiddenbrains.com ::: display a previously generated PDF file .... Posted by Jonathan on 3 Jan 2004 at 11:55 AM
: 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.");

Report
php web development from india Posted by Rachana12 on 6 Feb 2011 at 11:07 PM
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



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.