title: get html code from aspx page with php?
body: <p>i need to get html souce code from aspx page,as example can use <a href="https://www.godaddy.com/hosting/website-builder.aspx?ci=88060" rel="nofollow">Go daddy link</a></p>
  
  <p>I have tried cURL and file_get_contents bui it dons't work.
  Tried cURL with setting user agent.
  file_get_contents shows Redirection limit reached!</p>
  
  <pre><code>$url = 'godaddy.com/hosting/website-builder.aspx?ci=88060';
  $user_agent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 OPR/22.0.1471.40 (Edition Next)"; 
  $ch = curl_init(); 
  curl_setopt($ch, CURLOPT_URL,$url); 
  curl_setopt($ch, CURLOPT_USERAGENT, $user_agent); 
  curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); 
  $result=curl_exec($ch); 
  curl_close ($ch); 
  echo "Results: &lt;br&gt;".$result;
  </code></pre>