Re: PDFlib 6 and PHP 4.3.8/9
| From: | Tom Rogers | Date: | Thu, 21 Oct 2004 22:36:54 +0000 |
| Subject: | Re: PDFlib 6 and PHP 4.3.8/9 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-200043@lists.php.net to get a copy of this message | ||
Hi,
Friday, October 22, 2004, 7:44:37 AM, you wrote:
BPC> Hi Everyone,
BPC> I am hoping someone out there may be able to help...
BPC> I have recently installed PDFlib 6 and am running PHP 4.3.8. I am having
BPC> trouble with the pdf_open_file() function. I would like to create a PDF
BPC> to memory by leaving the second parameter (filename) in the above function
BPC> empty. However, every time I do this, I get the following error message:
BPC> Warning: pdf_open_file() expects exactly 2 parameters, 1 given in xxxxxxx
BPC> This means I always have to create the PDF file before outputting it to
BPC> the browser... which is very annoying.
BPC> Has anyone else encountered this? I have been unable to find much in the
BPC> groups to this point!
BPC> Thanks in advance for the help.
BPC> -brendan
try
pdf_open_file($pdf, "");
--
regards,
Tom