I use following PHP function:
file_get_contents(\'http://example.com\');
Whenever I do this on a certain server, the result is empty. When I do
Add:
allow_url_fopen=1
in your php.ini file. If you are using shared hosting, create one first.
php.ini