Jump to content

diasansley

Members
  • Posts

    64
  • Joined

  • Last visited

    Never

Everything posted by diasansley

  1. my req is to convert the pdf(first page) to an image file so far i have a few dll files and a pdftohtml.exe and the below mentioned code. I dnt knw if I am doing it the right way but any help would appreciated. $pdfname = "C:/xampp/htdocs/test/test.pdf"; $htmlfile = "C:/xampp/htdocs/test/testtest.html"; $path_to_lib = "C:/xampp/htdocs/test"; $rtn = exec('C:/xampp/htdocs/test -c -s "'.$pdfname.'" "'.$htmlfile.'"', $ouputted_html); foreach ($ouputted_html as $val){ echo $val . "\n"; } I get no output
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.