Hi all,

If anyone have experience in searching a keyword within pdf documents using PHP... plz help me out !!!

thanks in advance

    If you're on a UNIXy system you could execute the pdftotext command (from Xpdf http://www.foolabs.com/xpdf/) with the shell_exec() function. This function returns the standard output which you can store in a string and then search it in a normal PHP manner. (Note that pdftotext writes to a specified file by default, use "-" to get it to write to stdout.)

      Write a Reply...