Read ms word file in php




















To create a word document using the PHPWord you need the following resources installed in your operating system:. It allows you to add new paragraphs, titles, text, images, hyperlinks, charts and more.

Creating a word document is simple, you need to create a new document using PhpWord method. You can perform various settings of documents. Viewed 17k times. Improve this question. Deduplicator Santosh Achari Santosh Achari 2, 6 6 gold badges 25 25 silver badges 48 48 bronze badges.

This package can do it: github. Thanks guys - I'll give them a try. Add a comment. Active Oldest Votes. This is the working version to addweb-solution-pvt-ltd 's answer. Not sure why. Still trying to figure how to save it as a new file and force a download. Improve this answer. Does formatting make a difference? I am using PHP7 and got the deprecated warning for Sudhir's answer. This short code just worked for both. This should be marked as the answer, thank you. Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked Learn more. Asked 10 years, 11 months ago. Active 1 year, 5 months ago. Viewed 7k times. Improve this question.

ThiefMaster k 77 77 gold badges silver badges bronze badges. Bharanikumar Bharanikumar Related: stackoverflow.

Add a comment. Active Oldest Votes. It's worth noting that Microsoft advises against the automation of Office documents via COM objects: Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component including ASP, ASP.



0コメント

  • 1000 / 1000