PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > External Binaries

Reply
 
Thread Tools
Old 10-20-2003, 12:37 AM   #1
scuba303
Green Mole
 
Join Date: Oct 2003
Posts: 2
pdf config under windows - is this right?

hello. just wondering about the right configuration on a windows based system.

is this right?
define('PHPDIG_PARSE_PDF', 'c:\programme\ghostgum\pstotext\pstotext3.exe');

or do i have to regard capital and non-capital letters?
scuba303 is offline   Reply With Quote
Old 10-20-2003, 08:41 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Is it pstotxt3.exe or pstotext3.exe?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 10-21-2003, 05:22 AM   #3
scuba303
Green Mole
 
Join Date: Oct 2003
Posts: 2
you are right... an e too much.. thx.. ;-)
scuba303 is offline   Reply With Quote
Old 10-24-2003, 09:14 AM   #4
Leigh
Green Mole
 
Join Date: Oct 2003
Location: Canada
Posts: 3
Sorry to hijack this thread, but I have a similar question/problem.

I have copied the file pdftotext.exe to my IIS 4.0 web server into D:\PDFTOTEXT

I have amended the "config.php" file like this:

PHP Code:
define('PHPDIG_INDEX_PDF',true);
define('PHPDIG_PARSE_PDF','d:\\\\pdftotext\\\\pdftotext.exe');
define('PHPDIG_OPTION_PDF',''); 
When I dig the site I get the error:

Quote:
Fatal error: Call to undefined function: is_executable() in D:\Inetpub\wwwroot\Public\phpdig\admin\robot_functions.php on line 628
This error points to the configuration of the PDF content. My question is, do I have the syntax correct for the "config.php" file?

I have tried with single backslashes but get the same error.

PHP Version 4.3.3
OS is NT4.0 with latest service packs.
Leigh is offline   Reply With Quote
Old 10-24-2003, 10:23 AM   #5
Leigh
Green Mole
 
Join Date: Oct 2003
Location: Canada
Posts: 3
I managed to fix the problem myself.

The line should be:
PHP Code:
define('PHPDIG_PARSE_PDF','d:\\\\pdftotext\\\\pstotxt3'); 
There are double backslashes and no ".exe" extension.
Leigh is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Config file problems. Dave A Troubleshooting 3 12-28-2005 02:57 AM
Config on windows box- Document contains no data jozzy Troubleshooting 3 08-22-2005 07:36 AM
config issue baskamer Troubleshooting 2 12-18-2004 01:33 PM
Config file settings to MySQL manfred Mod Requests 1 07-08-2004 08:34 PM
xls doc pdf with windows sktest External Binaries 1 02-09-2004 10:47 AM


All times are GMT -8. The time now is 05:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.