(i want to use it to read the filesize and thereby the downloadtime of the html-file, and it all schould happen automaticly when someone writes the domainname at my webpage) )
i've tried this:
$filename = 'http://www.example.com'; $fp = fopen($filename, "r"); $size = filesize($filename); echo $size; fclose($fp);
but it only returns this error:
Warning: filesize(): Stat failed for http://www.example.com (errno=2 - No such file or directory)
WHAT AM I DOING WRONG???
Tobias, Denmark
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php