Page 1 of 1

what is file_get_contents()

PostPosted: Thu Dec 13, 2012 10:39 pm
by lusher
I have errors:
Warning: file_get_contents() [function.file-get-contents]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/vuster/public_html/admin.php on line 1026

Warning: file_get_contents(http://www.daddyscripts.com/version.php) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/vuster/public_html/admin.php on line 1026

What is the use file_get_contents?
How to activate it?

Re: what is file_get_contents()

PostPosted: Fri Dec 14, 2012 12:58 pm
by rockfire
Hey lusher,

Open the php.ini and search the line -> "allow_url_fopen = Off" and change this to allow_url_fopen = On

Restart Apache :)

Re: what is file_get_contents()

PostPosted: Sat Dec 15, 2012 4:24 am
by lusher
Listo!!!

Thank you!