note 13772 added to ref.pdf.php

From: Date: Mon, 02 Jul 2001 16:23:34 +0000
Subject: note 13772 added to ref.pdf.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14908@lists.php.net to get a copy of this message
I'm running Apache 1.3.20+PHP 4.0.6+PDFLib 4.0.1 and the 1st example given above doesn't seem to work. When I try it, I get: Fatal error: PDFlib error: function 'PDF_set_info' must not be called in 'object' scope in /usr/local/apache/htdocs/restricted/accounting/pdftest.php on line 4 Removing the filename and replacing it with "" seems to make the page work fine again. http://www.php.net/manual/en/ref.pdf.php

« previous php.notes (#14908) next »