PDF Error Catching
Posted: Wed Nov 02, 2005 4:13 pm
The following code:
Isn't creating a file called "test.pdf". This obviously means something went wrong, but is there any way to see some kind of error? I tried looking up error catching in my PHP book but didn't find anything.
Thanks,
Jason
Code: Select all
$pdf_filename = "test.pdf";
$pdf = pdf_new();
pdf_open_file($pdf, $pdf_filename);Thanks,
Jason