Well, now I have put pdftotext to server.
and
define('PHPDIG_INDEX_PDF',true);
define('PHPDIG_PARSE_PDF','/path/cgi-bin/pdftotext');
define('PHPDIG_OPTION_PDF','');
define('PHPDIG_PDF_EXTENSION','.txt');
Then I set the dig URL "http://www.domain.com/1.pdf
and depth=1, link=1, then dig.
But spider.php write nothing into database.
Can anyone help me?
Thanks
Waiting...
|