Pass trough streaming of files

From: Date: Tue, 15 Oct 2002 18:11:51 +0000
Subject: Pass trough streaming of files
Groups: php.general 
Request: Send a blank email to php-general+get-120133@lists.php.net to get a copy of this message
Hello I wonder if it is possible to do some kind of pass trough streaming of a file in PHP without making the content go through the mmap process? IE I want to make a PHP file that reads a mp3 file and sends it to the listning client, possibly winamp but mmap caches the whole mp3 file before starting to generate the output to the client. Is there some way to do this with PHP? A short example of what I want to do: <? readfile("mymp3.mp3"); ?> Ofcource my intention for this is more complicated then the example code I wrote but you get the point :) Doing this on a 100 meg mp3 file makes my server wanna retire :( Regards David Nordenberg

« previous php.general (#120133) next »