Get content of website

hi
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: ‘http://www.eforosh.com’ doesnt work.
i test curl statement but do not work.
how to get content of this url in php?
thanks.