I asked a question on Stack Overflow just a while ago, and it is getting a bunch of downvotes. I just don't understand why though, and I would like to get to the bottom of it, so I don't make the mistake repeatedly.
Here is the question:
TITLE: How to parse text in a .pdf, .doc, or .ppt using php?
QUESTION:
Is there a way given a .pdf, .doc, .ppt, or .txt I can read the text content of those files and return the results in a large string. Essentially it takes a file and puts all the text in said file into a string in return. I looked around I don't see anything that can do it all.
Now I get that obviously doing this for a .txt file is a piece of cake, but I feel like from a .ppt or .pdf is a little tricker. I just thought to see if someone has a solution off the top of their head, but it almost instantly got six downvotes.
What am I doing wrong guys?