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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php