function getFileContent($url) { $content = @join("", @file($url)); if (!$content) echo "<h5>BAD URL: <b>$url</b> !</h5>"; return $content; }