PHP Classes

Tip

Recommend this page to a friend!

      Portable Programming Document  >  All threads  >  Tip  >  (Un) Subscribe thread alerts  
Subject:Tip
Summary:Just a Tip to make the use of this nice class more easy
Messages:2
Author:Thiago Mata
Date:2005-02-06 18:00:19
Update:2005-02-08 11:35:11
 

  1. Tip   Reply   Report abuse  
Picture of Thiago Mata Thiago Mata - 2005-02-06 18:00:19
This is very good class. Nice work. This is just a tip for the beginners users of this class. Where is $code = ... you can put $code = file_get_contents("php_pdf.class.php"); or another any file. The php will read your send file and create a pdf based on him.

Nice work!

  2. Re: Tip   Reply   Report abuse  
Picture of Jon Lawrence Jon Lawrence - 2005-02-08 11:35:12 - In reply to message 1 from Thiago Mata
Glad that you like it. =] Please rate it and such so I can also get feedback that way ;]

Also, if you are wanting to load a file to create a PDF from, you can use the following in the example:

$pdf_doc->loadFile($fileName);

And that will do the file loading automatically for you. =]