Closed MattIPv4 closed 7 years ago
function __autoload($class_name) {
$class_name = explode("\\", $class_name);
$class_name = $class_name[count($class_name)-1];
require_once('pdf-to-html/'.$class_name.'.php');
}
$config = new Gufy\PdfToHtml\Config();
// change pdftohtml bin location
$config->set('pdftohtml.bin', 'C:/poppler-0.47/bin/pdftohtml.exe');
// change pdfinfo bin location
$config->set('pdfinfo.bin', 'C:/poppler-0.47/bin/pdfinfo.exe');
Gives: Fatal error: Uncaught Error: Call to undefined method Gufy\PdfToHtml\Config::set()
Check this May be it is useful for you http://stackoverflow.com/questions/14782751/convert-pdf-to-html-in-php
How on earth do I use this without composer?
I just want to do simple PDF to HTML, which file do I include?