note 34200 added to function.readfile

From: Date: Fri, 18 Jul 2003 04:23:42 +0000
Subject: note 34200 added to function.readfile
Groups: php.notes 
Request: Send a blank email to php-notes+get-52316@lists.php.net to get a copy of this message
In response to the person who commented above about using readfile to read a 6M file, I think the reverse is true. In testing, reading a 44M file with readfile would begin transfer immediately, whereas reading a 44M file with fread would take some time to load the entire file into memory and then begin outputting it. ---- Manual Page -- http://www.php.net/manual/en/function.readfile.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34200 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34200&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34200&report=yes

« previous php.notes (#52316) next »