Get content of website

i want to get content of a url in php.
my code is:
$url =‘some url’;
echo file_get_contents($url);

this code work for many urls.
but for some url like: ‘’ doesnt work.
i test curl statement but do not work.
how to get content of this url in php?