Re: Change the filename sent via html header
| From: | Spunk S. Spunk III | Date: | Wed, 04 Apr 2001 01:55:57 +0000 |
| Subject: | Re: Change the filename sent via html header | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46938@lists.php.net to get a copy of this message | ||
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 "Open in
Place" and does not rename the file to blah.qtl when downloaded on a Mac...
Any suggestions? Thanks for the comments...
Spunk