Re: Need eregi() help

From: Date: Fri, 01 Feb 2002 21:34:09 +0000
Subject: Re: Need eregi() help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-83192@lists.php.net to get a copy of this message
On Friday, February 1, 2002, at 04:28 PM, Robby wrote:
I am using this code below but it does not work (php in installed and working proplely): <?php $file=fopen("http://somedomain/time.html", "r"); if (!$file)
    echo "error when connect\n";
    exit;
    }
$line = fread ($file, filesize ($file));
Looks like you forgot the opening braces for your first 'if' statement. Does that help? If not, your error message will help others come up with suggestions. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#83192) next »