Re: parsing pdf files

From: Date: Thu, 12 Oct 2006 19:37:36 +0000
Subject: Re: parsing pdf files
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25423@lists.php.net to get a copy of this message
Hi Atif, Atif Khan wrote: > Is there any documentation or way to > parse or read a pdf file. Yes, but there is no such package in PEAR. > I need to read a pdf document and then file them > in a particular directory depending on the pdf file content. Search yourself with Google (or something else) for a PHP class / package that can do this, or use a Unix tool (maybe called via exec()) to get the contents. Depending on how the PDF file was created and what contents you need to find, you can also use file_get_contents() and strpos() (but only in very rare and simple cases). Asking on php-general@lists.php.net might be another good place for your question. Regards, Mark

« previous php.pear.general (#25423) next »