Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ezImage in PHP (for Dynamic PDF's)

Status
Not open for further replies.

chrissypchy

Programmer
Jun 23, 2003
40
0
0
US
Hi Everyone,

I'm trying to make a dynamic PDF using PHP. I need to import this graphic into it though and every time I try, I get errors. Here is my code:
<?php
include 'class.pdf.php'
$pdf = & new Cezpdf();
$pdf -> ezImage('pic.jpg',5,50,'full','center',1);
$pdf -> ezStream();
?>

I display text also but that part works. Can anyone tell me what I am doing wrong? Am I inputting the arguements wrong (I tried it without the quotes and I get the same thing). Any help would be appreciated.

-Chrissy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top