Re: How to output an MP3 file?
| From: | Brian Dunning | 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: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.phpheader('Content-Type: application/octet-stream'); <snip>What should I change?