Nate_23 Posted September 7, 2012 Share Posted September 7, 2012 I'm hoping to make a file upload form to upload a pdf file and then convert it to text and display. Does anyone know how to do this? Quote Link to comment Share on other sites More sharing options...
Christian F. Posted September 7, 2012 Share Posted September 7, 2012 Yes, the PHP manual. PS: I recommend that you read this article. Quote Link to comment Share on other sites More sharing options...
Nate_23 Posted September 8, 2012 Author Share Posted September 8, 2012 Hey man, I actually took a look through that page of the manual before posting my question. I'm afraid that I'm just not seeing any function that deals with extracting the text from the pdf. Maybe I'm just not seeing it, or tired, or confused... I'm just trying to help a buddy of mine out and wondering if someone can point us to a tutorial or something. Quote Link to comment Share on other sites More sharing options...
Christian F. Posted September 8, 2012 Share Posted September 8, 2012 Sorry about that, forgot the PDF library was only for creating PDFs. Though, for future reference I'd recommend that you add a note about what you've done to find the answer to your question, so that those who're trying to help you know that you've actually put forth an effort yourself. Plus, saves us all from wasting time by duplicating the effort, as in this case. In any case, a quick search after "php read pdf" gave me two answers (result #1 and #2, respectively): http://davidwalsh.name/read-pdf-doc-file-php http://webcheatsheet.com/php/reading_clean_text_from_pdf.php Quote Link to comment Share on other sites More sharing options...
smalot Posted September 2, 2013 Share Posted September 2, 2013 Here is a project I'm working on. It's still under active development, but you can already use it and test it. https://github.com/smalot/pdfparser Currently it's text oriented, but image support will be planned. If you encountered issues, thanks for sending me your PDF and if possible, the way you made it . Quote Link to comment Share on other sites More sharing options...
Julsy Posted October 31, 2013 Share Posted October 31, 2013 I'm hoping to make a file upload form to upload a pdf file and then convert it to text and display. Does anyone know how to do this? hey im also looking for a way to text out of a pdf :/ but i cant find anything ... so far only http://pdftoword.pro/ which kind of jumbles things u.p... thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.