> 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));
Probably about the same either way...
Maybe not building an array to build a string will save a little...
You could test it fairly quickly for yourself -- Probably best, as you never
know what your box might like better...
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
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]