Prova così
codice:
$text = file_get_contents('http://www.google.com');

if ($text === FALSE) {
  die("non sono riscito ad aprire");
}
// qui cerchi quello che ti serve nel testo