title: cURL Backlink Checker, no response
body: <p>OK, so I am making a backlink checker and I have the following code:</p>
  
  <pre><code> $url = strip_tags($_POST['domain']);
  $url = str_ireplace('www.','http://', $url);
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  $result = curl_exec($ch);
  curl_close($ch);
  return $result;
  
  $result1 = file_get_html('https://www.google.com/search?q='. urlencode($url).'');
  
  $getResults1 = $result1-&gt;find('div[id=resultStats]', 0)-&gt;innertext;
  $getResults1 = str_replace("About ", "", $getResults1);
  $getResults1 = str_replace(" results", "", $getResults1);
  $getResults1 = str_replace(",", "", $getResults1);
  
  echo "About".$getResults1;
  </code></pre>
  
  <p>the problem is that I do not get anything in return</p>
  
  <pre><code>echo "About".$getResults1;
  </code></pre>
  
  <p>It is supossed to echo back the results</p>