note 83916 deleted from function.readfile by googleguy

From: Date: Tue, 22 Oct 2013 08:02:15 +0000
Subject: note 83916 deleted from function.readfile by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196750@lists.php.net to get a copy of this message
Note Submitter: william [aht] expostfacto [dawht] se ---- Response to : antispam [at] rdx page [dot] com 20-Sep-2005 02:14 - Regarding the bod_bw apache module for limiting download speed and readfile; If you use readfile to, say, pseduo stream mp3's or such, you can, at least with mod_bw 0.7, specify the php file that handles the readfile and limit bandwidth that way. Example VirtualHost; <VirtualHost *:80> BandwidthModule On ForceBandWidthModule On LargeFileLimit theStreamFile.php 1 25000 ... </VirtualHost> This would throttle all files that gets sent via theStreamFile.php to 25 kb/sek. Works like a champ. Tested on CentOS 5.

« previous php.notes (#196750) next »