RE: More Streaming Woes....
"Disnard, Jon" <[email protected]> Mon, 19 Aug 2002 09:23:52 -0400
| Newsgroups | gmane.comp.apache.mod-mp3 |
|---|---|
| Message-ID | <[email protected]> |
Interesting. =) In this instance your placing the content-disposition after the content-type, and that makes sense since your also using the optional 'file=' thingy. I bet this has something to do with why I had to move the disposition header before the type header, and I just didn't know it. I might have to try this myself some day. The http 1.x spec reads like it wants the 'type' header before the 'disposition' header, so I like this way. =) Do the quotes really have any impact in browser behaviors? I wouldn't think so, less there was a var inside the quotes? Thanks! -Jon -----Original Message----- From: Bruce M. Walker [mailto:[email protected]] Sent: Sunday, August 18, 2002 05:09 To: [email protected] Subject: Re: [Mod_mp3] More Streaming Woes.... Quoting Jon Buda <[email protected]>: > > Heres an example of the code to play: > elseif($play == "playlist"){ > header("Content-Type: audio/mpegurl;"); > header("Content-Disposition: attachment; filename=playlist.m3u"); I've had better luck with IE and NS if I make it: header("Content-Type: audio/mpegurl; file=\"playlist.m3u\""); header("Content-Disposition: attachment; filename=\"playlist.m3u\""); The quotes and file= seem to trigger different browsers. -bmw _______________________________________________ Mod_mp3 mailing list [email protected] http://lists.tangent.org/mailman/listinfo/mod_mp3