Is there any way to have PHP detect a corrupted image?

后端 未结 6 1014
余生分开走
余生分开走 2020-12-18 07:17

Is there any way to have PHP determine whether an image file is corrupted and will not be able to display properly?

I\'ve tried to check with fopen and

6条回答
  •  猫巷女王i
    2020-12-18 07:35

    A great way to view all your latest broken files is to use cpanel "Error Log" which will show you all the last 300 broken files.

提交回复
热议问题