fopen is not working on my server

前端 未结 6 2023
迷失自我
迷失自我 2020-12-11 03:14

It works perfectly on localhost with Xampp, but when I try it on my server (host-ed.net), fopen can\'t open any url, it only works for files without http.

&l         


        
6条回答
  •  没有蜡笔的小新
    2020-12-11 03:45

    The permission for opening urls with fopen is controlled by the php.ini setting allow_url_fopen. You can see your current setting using phpinfo() which will dump an html doc containing all your server settings.

提交回复
热议问题