简体   繁体   中英

when i have upload docx file, content are storing in database How can i save image and insert image name in database?

I have upload a docx file, all text are inserting into mysql database. but i want upload docx file such as word image

How can i save Image1, Image3, Image4 and insert these into option_one, option_three, option_four.

Here is database format:
mysql database

.docx files are in fact zip files.

You will have to save the uploaded file, rename it as a .zip file then unzip its contents.

You will then have access to the full size images stored inside the .docx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM