Use PHP to convert Office files, such as Word, to PDF format

Source: Internet
Author: User
I haven't found it for a long time, it seems that there are only two ways to solve this problem.

1 COM components that use MS, can only be used on a win server,
2, the use of OpenOffice this I do not know very well, as if to install OpenOffice,

But I'm renting a server where people don't do it.


Reply to discussion (solution)

Http://developer.51cto.com/art/200912/168346.htm

http://stackoverflow.com/questions/5538584/convert-word-doc-docx-and-excel-xls-xlsx-to-pdf-with-php

Http://developer.51cto.com/art/200912/168346.htm


This is the use of OpenOffice, the following comments are not available, I have tried

I also have tried to convert PDFs under PHP conditions, I have only tried PDF converting in vb.net and PDF converting in c#.net. Who has this code can share the AH, early thanked!

What about the plugin recommendations for PDF to PNG conversion and PDF to BMP conversion? Is the trial version will be added watermark it?

  • 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.