pdflib?

From: Date: Wed, 05 Sep 2001 16:59:23 +0000
Subject: pdflib?
Groups: php.general 
Request: Send a blank email to php-general+get-66060@lists.php.net to get a copy of this message
hello had everything working and fine. when i went back to the page today, nothing worked. i can (almost) bet my sack on that i haven't changed any code. Fatal error: PDFlib error: function 'PDF_set_info' must not be called in 'object' scope is the error i get. the code is $pdf = pdf_new(); >> pdf_set_info($pdf, "Author", "AuralQuest"); << pdf_set_info($pdf, "Title", "Invoice"); pdf_set_info($pdf, "Creator", "AuralQuest"); pdf_set_info($pdf, "Subject", "Invoice"); pdf_set_parameter($pdf, "warning", "true"); the error is on the "highlighted" line. if i comment out these lines, i get the same error on the line with pdf_begin_page($pdf, 595, 842); what have i missed? thanks in advance / d

« previous php.general (#66060) next »