abdfahim Posted June 13, 2010 Share Posted June 13, 2010 Hi All, From phpinfo, allow_url_fopen=Off in my web server , but it shows enabled when I use the following, echo ini_get('allow_url_fopen') ? "allow_url_fopen: Enabled " : "allow_url_fopen: Disabled"; Output: allow_url_fopen: Enabled What is the reason? Quote Link to comment https://forums.phpfreaks.com/topic/204633-allow_url_fopen-issue/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 13, 2010 Share Posted June 13, 2010 What does echo ini_get('allow_url_fopen'); show? If ini_get() returns a string that evaluates as TRUE, your existing code will say that the setting is enabled. However, if it is set to an invalid setting, it won't actually be on. And why did you start a new thread when you already have an active thread for this problem? That just throws away the history of how you got to this point and any information that was gained in your original thread. Quote Link to comment https://forums.phpfreaks.com/topic/204633-allow_url_fopen-issue/#findComment-1071423 Share on other sites More sharing options...
abdfahim Posted June 14, 2010 Author Share Posted June 14, 2010 sorry man, for some strange reason, i was not able to open my past thread at that moment ... so I tried a new thread for a check and it worked!! .. and ofcourse, then there is no way to undo it ... anyway, thanks for your reply .... Quote Link to comment https://forums.phpfreaks.com/topic/204633-allow_url_fopen-issue/#findComment-1071998 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.