Thread: pdftotext issue
View Single Post
Old 07-14-2006, 11:40 PM   #7
JonnyNoog
Green Mole
 
Join Date: Oct 2005
Posts: 12
Well... Following on down the path from my last post, $result_test['status'] was not being set as 'PDF' so the switch statement was not in turn running the 'PDF' case. So I wanted to see what would happen if I told phpdig index the full address to a particular PDF.

Is result test http an array: 1
What is result test http status: PDF

Code:
Is result test an array: 1
What is result test status: PDF
Use is executable is set to: 1
Index the pdf is set to: 1
Parse the pdf is set to: D:\Internet\WWWROOT\anmc\Xpdf\pdftotext.exe
Does parse pdf exist: 1
Is parse pdf executable: 1

Command is: D:\Internet\WWWROOT\anmc\Xpdf\pdftotext.exe ../admin/temp/67264762.tmp 2>&1
Result contains: Array ( )
Return value is: 0

5:http://XXX/docs/Modified_Form_A_0607.pdf
(time : 00:00:11)
Success! It indexed the PDF. So it now seems that in fact, pdftotext was working the whole time and the problem was that it just wasn't finding the PDF files to index in the first place, because I hadn't set phpdig to look for enough links on each level... I think.

But all's well that ends well I guess. Too bad I can't rename this thread to the jonny vs. jonny thread...

How are you doing now jonny?

I'm doing well thanks, jonny...

That's great to hear, jonny. Take care.
JonnyNoog is offline   Reply With Quote