Maybe I\'ve been sat here too long staring at this but WHY would file_get_contents return false here? I\'ve cut and paste the URL and it works fine
file_get_contents
false
Sometimes if file_get_contents return false (not found) you should see if the url is encoded.
example:
http://test.net/демо/
Should be:
https://test.net/%D0%B4%D0%B5%D0%BC%D0%BE/