How to read .pdf file..?

Reply

Join Date: Jul 2008
Posts: 9
Reputation: kuldeep04 is an unknown quantity at this point 
Solved Threads: 0
kuldeep04's Avatar
kuldeep04 kuldeep04 is offline Offline
Newbie Poster

How to read .pdf file..?

 
0
  #1
Jul 7th, 2008
Hi All

I have one .pdf file and I want to read with this file using PHP. and I know that i need pdf library for do that but i haven't any information about that so, please give me detail info for that library also...!


Thanks in advance.
Kuldeep (KD)
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 21
Reputation: ratri is an unknown quantity at this point 
Solved Threads: 1
ratri ratri is offline Offline
Newbie Poster

Re: How to read .pdf file..?

 
0
  #2
Jul 10th, 2008
Hi Kuldeep,
I had researched this a while ago and Adobe did not have any public apis to work with a pdf document. I still doubt if they have exposed any apis.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 9
Reputation: kuldeep04 is an unknown quantity at this point 
Solved Threads: 0
kuldeep04's Avatar
kuldeep04 kuldeep04 is offline Offline
Newbie Poster

Re: How to read .pdf file..?

 
0
  #3
Jul 11th, 2008
Hi Ratri,

Thanks for reply. can u tell me any other option for reading the PDF file.actully i want to fetch some data from PDF and right in to my Database so How can i do this?

and Thanks again for Reply....
Kuldeep (KD)
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 21
Reputation: ratri is an unknown quantity at this point 
Solved Threads: 1
ratri ratri is offline Offline
Newbie Poster

Re: How to read .pdf file..?

 
0
  #4
Jul 11th, 2008
The way I did it was creating a desktop application with an IE control; load the PDF, programmatically right click on the document and copy. Then parse the copied contents using regular expressions. However, there is room for a lot of mistakes in this approach. Also, the author of the PDF can set the text in the document not selectable. In such scenario, this approach will not work.

One more alternative is to grab a snapshot of the document and parse the bitmap to detect the text in the bitmap. This again is a tedious job .... out of my radar
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 9
Reputation: kuldeep04 is an unknown quantity at this point 
Solved Threads: 0
kuldeep04's Avatar
kuldeep04 kuldeep04 is offline Offline
Newbie Poster

Re: How to read .pdf file..?

 
0
  #5
Jul 14th, 2008
Hi Ratri,

Thanks for the answer but i would like to inform you that i m making the Web application so i couldn't use desktop application so plz reply me that which i can use with web application.


Thanks again...!
Kuldeep (KD)
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 21
Reputation: ratri is an unknown quantity at this point 
Solved Threads: 1
ratri ratri is offline Offline
Newbie Poster

Re: How to read .pdf file..?

 
0
  #6
Jul 14th, 2008
Hi Kuldeep,
At this point, there is not much that can be done unless Adobe exposes some some PDF api; which at this point they are not.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 849
Reputation: R0bb0b is on a distinguished road 
Solved Threads: 67
R0bb0b's Avatar
R0bb0b R0bb0b is offline Offline
Practically a Posting Shark

Re: How to read .pdf file..?

 
0
  #7
Jul 14th, 2008
I'm reading that the way to go on this is PDFlib-PDI, I cannot give you any examples as I have only worked with pdflib, not pdi.
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” - Dr. Seuss

-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 3,760
Reputation: nav33n is a jewel in the rough nav33n is a jewel in the rough nav33n is a jewel in the rough 
Solved Threads: 332
Moderator
Featured Poster
nav33n's Avatar
nav33n nav33n is offline Offline
Senior Poster

Re: How to read .pdf file..?

 
0
  #8
Jul 14th, 2008
Is it really possible ?
Ignorance is definitely not bliss!

*PM asking for help will be ignored*
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 849
Reputation: R0bb0b is on a distinguished road 
Solved Threads: 67
R0bb0b's Avatar
R0bb0b R0bb0b is offline Offline
Practically a Posting Shark

Re: How to read .pdf file..?

 
0
  #9
Jul 14th, 2008
Looks like there are examples.
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” - Dr. Seuss

-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 849
Reputation: R0bb0b is on a distinguished road 
Solved Threads: 67
R0bb0b's Avatar
R0bb0b R0bb0b is offline Offline
Practically a Posting Shark

Re: How to read .pdf file..?

 
0
  #10
Jul 14th, 2008
Last edited by R0bb0b; Jul 14th, 2008 at 4:11 pm.
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” - Dr. Seuss

-- The documentation is inevitable, you may get away with it for a little while but eventually you too will have to do the deed.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC