Home > Backend Development > PHP Tutorial > ThinkPHP file upload error

ThinkPHP file upload error

WBOY
Release: 2023-03-02 11:04:02
Original
1457 people have browsed it

Use ThinkPHP to upload a word document to the server. When there are some special pictures in the document, the following error is reported when uploading:
ThinkPHP file upload error

Delete the image and the file will be uploaded successfully.
How to solve this problem?

Reply content:

Use ThinkPHP to upload a word document to the server. When there are some special pictures in the document, the following error is reported when uploading:
ThinkPHP file upload error

Delete the image and the file will be uploaded successfully.
How to solve this problem?

Can you try adding the allowed suffix of the uploaded file to the image?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template