Now compatible with file_get_contents function, if curl is disabled