Re: How to output an MP3 file?

From: Date: Wed, 15 Nov 2006 18:32:44 +0000
Subject: Re: How to output an MP3 file?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-244692@lists.php.net to get a copy of this message
Thanks Jon - You put me on the right track. Apparently audio/x-mp3 is what iTunes wants to see, and it seems to work with browsers. :) On Nov 15, 2006, at 10:06 AM, Jon Anderson wrote:
Brian Dunning wrote:
header('Content-Type: application/octet-stream');       <snip>
What should I change?
I think you should use a content type more specific to MP3s. My install of firefox seems to think the appropriate content type for those is "audio/mpeg" - try that, and see what happens. jon --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#244692) next »