How do I use php to edit a pdf file? Specifically, I would like to upload a pdf file, find a specified string of text (e.g. Google) and replace it with another string (e.g. Yahoo). Then, print a link to download the new pdf.

Thus from file1.pdf:
A good search engine would be Google.

file2.pdf is created:
A good search engine would be Yahoo.

Furthermore, is it also possible to do this and change the hyperlink as well?


P.S. I would prefer not to use the PDF library. PDF classes would be good, such as FPDF (http://www.fpdf.org/) or R&OS PDF (http://www.ros.co.nz/pdf/)