I want to allow allow_url_fopen on my server . I have asked my host and they said it can be done with a .htaccess file. Can anyone tell me how to go about this ?
I want to allow allow_url_fopen on my server . I have asked my host
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try this, but I don’t think it will work because you’re not supposed to be able to change this
Put this line in an htaccess file in the directory you want the setting to be enabled:
Note that this setting will only apply to PHP file’s in the same directory as the htaccess file.
As an alternative to using url_fopen, try using curl.