note 42944 deleted from function.readfile by tomsommer

From: Date: Mon, 09 Aug 2004 06:50:28 +0000
Subject: note 42944 deleted from function.readfile by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-74301@lists.php.net to get a copy of this message
Note Submitter: mskristall@netscape.net ---- In response to pablo at compuar dot com (20-May-2004): There should be no problem with downloading taking longer when Content-Length does not include `bytes,' but you should instead use: <?php //... $size = filesize ("$filename"); header ("Accept-Ranges: bytes") header ("Content-Length: " . $size); ?> That should solve the problem.

« previous php.notes (#74301) next »