PHP Classes

Getting an error when run as a command line script

Recommend this page to a friend!

      PHP PDF to Text  >  All threads  >  Getting an error when run as a...  >  (Un) Subscribe thread alerts  
Subject:Getting an error when run as a...
Summary:Getting an error in pdftotext when run as a command line script
Messages:1
Author:Phil
Date:2020-09-29 08:29:06
 

  1. Getting an error when run as a...   Reply   Report abuse  
Picture of Phil Phil - 2020-09-29 08:29:06
Hope someone can help with this. I'm trying to use this pdftotext class in a script that runs without a graphical interface - just to get some text out of a pdf. I'm running it just as a bat file. or command line and getting the error;

"Use of undefined constant IMG_JPEG - assumed 'IMG_JPEG' "
and it's stopping my script.

Any ideas how I fix this.

Thanks in advance

 
For more information send a message to info at phpclasses dot org.