note 13411 added to function.header.php

From: Date: Fri, 15 Jun 2001 11:37:07 +0000
Subject: note 13411 added to function.header.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14385@lists.php.net to get a copy of this message
For downloads, in order to allow the browser to calculate the approximate download time, pass the file size in addition to the above mentioned headers as follows: $size = filesize($file); header("Content-Length: $size"); http://www.php.net/manual/en/function.header.php

« previous php.notes (#14385) next »