file_get_contents() failed to open stream:

前端 未结 2 786
我寻月下人不归
我寻月下人不归 2020-12-05 16:03

I\'m trying to use file_get_contents() to grab a twitter feed, however I\'m getting the following warning:

failed to open stream: HTTP request          


        
2条回答
  •  误落风尘
    2020-12-05 16:08

    Most probably, your server have mod_security enabled. Add the below lines in your .htaccess after any existing rules and then try to see the issue is still there, after that addition.

    
     SecFilterScanPost
    
    

提交回复
热议问题