Hi
can i read a pdf file in PHP? if yes how can we do that. is there any installation is required? how can we check that required library is installed on server or not. I am very thankful to you if you help me.
Reading pdf file
PHP has no built in support for PDF files, so checking for "something" would be required, and is likely to fail unless you have installed it yourself.
I've never had to deal with reading pdf files, just creating them. However, my google skills got me trying a web search for "php read pdf file" and the first returned result seems like a good choice, assuming it works as advertised (which I don't doubt but havn't verified): http://davidwalsh.name/read-pdf-doc-file-php.
Note that an additional link click is required. Also note that it is a GNU license, which means that you can use it free of charge, but to redistribute (part of) the code as part of your own project, your own code also has to be GNU.
HI
Thanks a lot for your replay and for your time. Its look helpful. I have experience in PHP but not good in basics. I never now how to run this query
$content = shell_exec('/usr/local/bin/pdftotext '.$filename.' -');
it is from doc you send me. can you help me in this also please. And how can i know thay my code has GNU license or not.
Thanks a lot again