please see this web site:
www.farsnews.com
any one can open this website easily with browser.
but i can not open this web site with Curl.
my code is:
$url="http://www.farsnews.com/";
$curl = curl_init();
curl_setopt ($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 GTB5");
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_TIMEOUT, 50);
$html = curl_exec ($curl);
curl_close ($curl);
echo $html;
any one can help me openning this website with curl?
thanks