开发者

how can i allow url fopen on .htaccess?

开发者 https://www.devze.com 2023-01-31 20:00 出处:网络
i want to allow the url_fopen on the php.ini settings set to ON, but i dnt have access to this on a shared server, how can i use the .htaccess file to allow this开发者_高级运维 to hapen, thanks :))If

i want to allow the url_fopen on the php.ini settings set to ON, but i dnt have access to this on a shared server, how can i use the .htaccess file to allow this开发者_高级运维 to hapen, thanks :))


If your host disabled this for security reasons, then you likely cannot override it, as that would defeat the purpose of disabling it.


You can change the values in your PHP code on the fly http://php.net/manual/en/function.ini-set.php

I agree with @Dan Grossman though - be careful what you're changing.

0

精彩评论

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

关注公众号