PHP's file_exists() will not work for me?

前端 未结 7 1745
既然无缘
既然无缘 2020-12-01 04:21

For some reason this PHP code below will not work, I can not figure it out.

It is very strange, file_exists does not seem to see that the image does exist, I have c

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-01 04:47

    Have you enabled the option which allows you to use external URLs? You can set it in php.ini:

    allow_url_fopen = 1
    

提交回复
热议问题