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]

Reply via email to