Matthias Nothhaft schrieb:

Hi,

I'm trying to get the pdflib work...

I use pdflib 4.0.3 downloaded from pdflib.de and php 4.3.4 on Debian Linux.

I wrote this test code:

hi matthias,
if you want to use this lib it's good to be familiar with classes and objects in php. the manual can help you at this. now to your code.

<?php


dl("libpdf_php.so");

$pdf = pdf_new();
you just created a php-object $pdf.
for your further methods you must explicit declare them to your objects:
pdf_begin_page($pdf, 421, 595);
$pdf->pdf_begin_page($pdf, 421, 595);
... and so on.
hth SVEN

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to