开发者

URL file-access is disabled in the server

开发者 https://www.devze.com 2023-01-09 15:06 出处:网络
I Know this is a problem in the php.ini which comes with a default allow_url_fopen = Off and allow_url_include = Off

I Know this is a problem in the php.ini which comes with a default allow_url_fopen = Off and allow_url_include = Off How could i deal with this... if the 开发者_JAVA技巧hosting place dont change this.. im trying to access an outside url totally diferent from mine, so the server root thing wont work.. what could i do?


Use a HTTP client PHP class to obtain the data: http://scripts.incutio.com/httpclient/

You can save it as a local file, execute it or do anything. Just be careful not to include some malicious code by mistake (that's why allow_url_include is off by default).

0

精彩评论

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