Re: [PHP] Change the filename sent via html header

2001-04-03 Thread Spunk S. Spunk III
Okay, So here's what it looks like now: header("Content-type: application/x-quicktimeplayer"); header("Content-Disposition: attachment; filename=blah.qtl" ); print(GenerateSMILAlbum($baseURL, $directory, $mp3Array, $albumCover)); This gets me two download dialogs on windows machines if I select

Re: [PHP] Change the filename sent via html header

2001-04-03 Thread Frank M. Kromann
You can use something like this: this will change the mime type and filename of the content send to the browser. - Frank > On 4/3/01 12:34 PM, "Spunk S. Spunk III" <[EMAIL PROTECTED]> wrote: > > > I've got a script that returns a smil file in a header but I'd like to > > change the name of

Re: [PHP] Change the filename sent via html header

2001-04-03 Thread Lindsay Adams
On 4/3/01 12:34 PM, "Spunk S. Spunk III" <[EMAIL PROTECTED]> wrote: > I've got a script that returns a smil file in a header but I'd like to > change the name of the file. The file is sent as blah.php (even though it is > a smil file) but I'd like to be able to name it something like blah.sml. Is