title: how to echo data that we read with file_get_contents
body: <p>i want to check remote url's page contents. IF remote site's page content contains string <a href="http://yahoo.com" rel="nofollow noreferrer">http://yahoo.com</a> set $qqq = YH if not contains $qqq = NOYH. i am not talking about "url of that page" im talking about page content of url</p>
  
  <pre><code>$url = "'".$get['url']."'";
  $needle = "http://yahoo.com/";
  $contents = file_get_contents($url);
  if(stripos($contents, $needle) !== false) {
      $qqq = "YH";
  }
  </code></pre>
  
  <p>But it's not working. Can anybody help me with the correct syntax? thanks..</p>