file_get_contents not working?

后端 未结 6 1189
遥遥无期
遥遥无期 2020-11-28 13:25

This code is not working to server. But It is working to my localhost (xampp)

$url = file_get_contents(\'http://www.site.com/\');
$xhtml=\'|

        
6条回答
  •  Happy的楠姐
    2020-11-28 14:04

    Also check whether you have: allow_url_include On

    And make sure that there are no network permission issues like 403 Forbidden.

提交回复
热议问题