Posted by howa on 11/07/06 08:28
are there any advantage in replacing all fread() operations with file_get_contents() ? i.e. file_get_contents("/usr/local/something.txt") VS $filename = "/usr/local/something.txt"; $handle = fopen($filename, "r"); $contents = fread($handle, filesize($filename)); fclose($handle); is that file_get_contents() is more efficient? thanks.
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming