Open a PDF file directly on the webpage and modify how it is implemented using php.

Source: Internet
Author: User
Tags php pdf
How can I open a PDF file directly on a webpage and modify it in php? That is to say, click a pdf file and open it directly in the browser. after opening the file, you can modify the content of the pdf file in the file and save it. It is equivalent to treating the browser as a pdf modifier! How can this be implemented using php? & Nbsp; it may be that the national organization needs to upload a pdf document, and then open the pdf file directly on the webpage and modify it. how can I implement it using php?
That is to say, click a pdf file and open it directly in the browser. after opening the file, you can modify the content of the pdf file in the file and save it. It is equivalent to treating the browser as a pdf modifier! How can this be implemented using php?

It may be that a national organization needs to upload pdf documents and grade them by many departments!

------ Solution --------------------
Can pdf be modified at will ?, If I'm not mistaken, you have some special modification tools besides adobe, which is not possible unless you scan the pdf into text and then modify it into pdf...
------ Solution --------------------
You can use the php pdf tool to check whether it can be parsed. if it can be parsed, you can control it by yourself ..
------ Solution --------------------
Discussion

Reference:

Can pdf be modified at will ?, If I'm not mistaken, you have some special modification tools besides adobe, which is not possible unless you scan the pdf into text and then modify it into pdf...

That is to say, it is impossible to use php? ,
Oh, then I don't quite understand what our leaders mean, or I am wrong. every time I talk to him about this, he is ambiguous. it's so simple, and he hasn't been there recently, I am a programmer in the company. who can I talk ......

------ Solution --------------------
I think what your leadership might mean is this: generate a PDF of the document to various departments, and the meaning of "grading" should be as shown in The OA, indicating that this document has been viewed by a certain department.

I don't know what I understand, right?
------ Solution --------------------
Adobe Acrobat PRO can edit PDF files, but only those with electronic signatures stamped with annotations can be edited. This issue cannot be solved by PHP. the idea should be to call Adobe Acrobat in the browser, edit and save the issue, and upload the overwriting File. PHP only supports sending and receiving requests. Alternatively, you can use Flash to implement an online reader. the edited content overwrites the original PDF, and the background receives the changes and merges them into the PDF.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.