On Wednesday 24 January 2001 01:25, Richard Lynch wrote:
I wonder myself, which method is better to fetch a web page:
$file = fopen($url, "r");
$page = fread($file, 5);
or
$file = join('', file($url));
Probably about the same either way...
Perhaps. In an earlier
I wonder myself, which method is better to fetch a web page:
$file = fopen($url, "r");
$page = fread($file, 5);
or
$file = join('', file($url));
Probably about the same either way...
Maybe not building an array to build a string will save a little...
You could test it
2 matches
Mail list logo