Thread: php question
View Single Post
Old 01-08-2005, 12:51 PM  
Clarion
Confirmed User
 
Join Date: Jan 2005
Location: Ontario, OR
Posts: 148
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");
__________________
Structure Northwest :: the cure for the common code ::
AIM: Asatruel | Yahoo!: Asatruel | ICQ: 111-638-053
Clarion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote