开发者

simple XML error URL file-access is disabled in the server

开发者 https://www.devze.com 2023-04-10 08:11 出处:网络
I\'m having problems trying to load a XML file using simpleXML in PHP, it works fine on my host but when I uploaded it to the live server it showed me the error in the title, I looked around and it lo

I'm having problems trying to load a XML file using simpleXML in PHP, it works fine on my host but when I uploaded it to the live server it showed me the error in the title, I looked around and it looks like allow_url_fopen is disabled in the live server but I don't have access to the php.ini file. I tried adding php_value allow_url_fopen 1 to my .htaccess file but I still got the same error, could it be that the host has disabled changing this from outsite the .ini file?

T开发者_如何学Chanks in advance!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号