Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solve the problem that dream weaving cannot be uploaded in jpg format.

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article is about solving the problem that dream weaving cannot be uploaded in jpg format. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

What if dream weaving cannot be uploaded in jpg format?

Dream weaving can not upload jpg format what to do, to the root directory to find the Include folder, and then find the uploadsafe.inc.php file, follow the steps below to modify

Recommended study: dream weaving cms

Go to the root directory and find the Include folder, then find the uploadsafe.inc.php file, open the file, and find the code on line 54

The code is as follows

If (in_array (strtolower (trim (${$_ key.'_type'}), $imtypes)) {$image_dd = @ getimagesize ($$_ key); / * change $image_dd to $imgage_dd * / if (! is_array ($image_dd)) {exit ('Upload filetype not allow!');}} Thank you for reading! On solving the problem of dream weaving can not upload jpg format to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report