i create some pdf in php like this : <?php $p=PDF_new(); PDF_open_file($p,""); PDF_begin_page($p,595,842); $font=PDF_findfont($p,"Helvetica-Bold","host",0); PDF_setfont($p,$font,18.0); PDF_set_text_pos($p,50,700); PDF_show=($p,"Tess pdf!"); PDF_continue_text($p,"Line 2 nih"); PDF_end_page($p); PDF_close($p); $buf=PDF_get_buffer($p); $len=strlen($buf); header("Content-type:application/pdf"); header("Content-Lenght:$len"); print $buf; PDF_delete($p); ?>
and i get error message like this: Warning: Failed opening '/home/web/html/pdf.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 sicute -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php