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));


eregi("^{<font color=green><b>}{.*}{</b></font>}$", $line, $out)
echo "$out[1]";
fclose($file);
?>


Robby



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to