tags:

views:

11

answers:

2

hi i got an error message when i try to do file_get_contents() function

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /data/20/1/112/111/1927437/user/2100551/htdocs/cti-dev/admin/my path

My site is https ..

how this happend? Does any one help me ?

+1  A: 

This error is occurs when allow_url_fopen is disabled. You'll need to use cURL to grab this file or change your PHP.ini config.

pygorex1
+1  A: 

Someone has disabled URL access in fopen() et alia, probably with allow_url_fopen.

Ignacio Vazquez-Abrams