That works fine in IE but does not work in NS, undoubtedly because it does not conform to the RFC.
Fred Jason Murray <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am attempting to allow users to download csv files that are created > > dynamically from a database. In order to do so I use: > > > > header( "Content-Disposition: attachment, filename=query.csv"); > [snip] > > Has anyone had success in getting IE to use the correct filename when > > downloading dynamically generated files? > > I just use: > > Header("Content-disposition: filename=".$filename); > > ... ie, no "attachment". > > Jason > > -- > Jason Murray > [EMAIL PROTECTED] > Web Developer, Melbourne IT > "Work now, freak later!" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]