Begging for the php word export problem, the html webpage uses file_get_contents to get the content and generate a doc file. However, the image address in the doc is the image path and the content in the doc is modified, A & nbsp ;. files & nbsp; folder, which contains all pictures. I beg the question of php exporting word
Generate a doc file after using file_get_contents to get the content of the html webpage. However, the image address in the doc is the path of the image. modify the content in the doc and generate a file after saving the file. files folder, which contains all images,
I downloaded the image and saved it when I saved it as a doc. I encoded the image with base64 and only followed it. However, after modifying the file, still generate. files folder, which contains images, and the base64 encoding in the doc is replaced. path of the files folder image
All I want is to save the file as word. after modification, the. files folder is not displayed, or put. files in a temporary directory.Share: More
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