简体   繁体   中英

Image loading and not loading at random, PHP

I have a single image with size of 35738 bytes, and I'm trying to display it. The problem is that 1 time out of 2 it doesn't load, and I honestly can't see what the problem is. At first I thought that it was the size problem, but then I tried loading a picture with size of 162240 bytes, and it loads perfectly fine everytime, so I really can't see why this specific picture isn't loading. Please take a look at my code:

<img src = 'uploads/48v2-cute-cat-picture.jpg'>

After moving this over to chat, we have determined that, with some other strange behavior, that the server is responsible for the random activity.

That is, it seems that the server has been hacked with malware and is causing some random redirects. The lesson of using a free shared host.

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