Hello,
I wonder myself, which method is better to fetch a web page:
$file = fopen($url, "r");
$page = fread($file, 50000);
or
$file = join('', file($url));
, speaking from the performance point of view? (or is there any better?).
Thanks.
--
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]
[PHP] file or fopen to fetch a web page???
Lic. Rodolfo Gonzalez Gonzalez Tue, 23 Jan 2001 14:20:16 -0800
- Re: [PHP] file or fopen to fetch a web page... Lic. Rodolfo Gonzalez Gonzalez
- Re: [PHP] file or fopen to fetch a web... Richard Lynch
- Re: [PHP] file or fopen to fetch a... Christian Reiniger

