what is file_get_contents()

All support enquiries for DFH go in here...

what is file_get_contents()

Postby lusher » Thu Dec 13, 2012 10:39 pm

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?
Image
User avatar
lusher
Premium
 
Posts: 71
Joined: Mon Nov 05, 2012 6:34 am

Re: what is file_get_contents()

Postby rockfire » Fri Dec 14, 2012 12:58 pm

Hey lusher,

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

Restart Apache :)
rockfire
Standard Member
 
Posts: 9
Joined: Sat Nov 03, 2012 7:35 pm

Re: what is file_get_contents()

Postby lusher » Sat Dec 15, 2012 4:24 am

Listo!!!

Thank you!
Image
User avatar
lusher
Premium
 
Posts: 71
Joined: Mon Nov 05, 2012 6:34 am


Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 13 guests

cron