I am a helping a Library. They are scanning and OCRing their collection of antique literature. I have a seearch form and use readfile to read and display the pdf that is located above the web root.
I would like to add the #search= parameter to the called pdf so the searched for text is highlihgted. Can readfile do this, or is there a better solution? I was thinking I might be able to accomplish this with an ob_get_contents; would that be a better choice?