Quote:
Originally Posted by hyper
PHP Code:
<?php
$file = fopen ("http://www.example.com/", "r");
if (!$file) {
echo "<p>Unable to open remote file.\n";
exit;
}
else {blah blah blah;
}
fclose($file);
?>
|
change the first line to this so you don't generate any errors. $file = @fopen ("http://www.example.com/", "r");