Re: How to output an MP3 file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux