JohnThomas JohnThomas - 16 days ago 5
PHP Question

Server configuration by allow_url_fopen=0 in

I'm getting the following error when running a script. The error message is as follows...


Warning: file_get_contents() [function.file-get-contents]: https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/satoship/public_html/connect.php on line 22


I know this is a server issue but what do I need to do to the server in order to get rid of the above warning?

Answer

If you do not have the ability to modify your php.ini file, use cURL: PHP Curl And Cookies

Comments