View Single Post
  #13 (permalink)  
Old 06-15-09, 08:19 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
Quote:
Originally Posted by conmen80 View Post
How to make fpdf created file only in backend without output to browser?

pls advise, thx!!!
You see these lines of code at the end of the script?
PHP Code:

// Disable this line and enable the next line to output to a file. //
$pdf->Output();
// $pdf->Output("myFile.pdf","F"); 
Change them like this and it will output to a file only.
PHP Code:

// Disable this line and enable the next line to output to a file. //
//$pdf->Output();
$pdf->Output("myFile.pdf","F"); 
__________________
Jerry Broughton
Reply With Quote