Resume Builder pdf2txt, word2txt

28 Jul

Reading PDF Files

XPDF package includes “pdftotext.” You have to install XPDF/pdftotext then run the following PHP statement to get the PDF text:

$txtcontent = exec('/usr/local/bin/pdftotext svnlabs.pdf -');

Reading DOC Files

This package is called Antiword. Here’s the PHP code to grab the Word DOC content:

$txtcontent = exec('/usr/local/bin/antiword svnlabs.doc');
1 Comment

Posted by on July 28, 2009 in Fedora, LAMP, Linux, php, Tips, Tricks, Web Services


Tags: , , , , , ,

One response to “Resume Builder pdf2txt, word2txt

  1. buyvigrx

    October 7, 2009 at 10:23 pm

    A SUPPORTED BY THE DEVELOPER TOOLS? It was interesting. You seem very knowledgeable in your field.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: