Re: content disposition and internet exploder

From: Date: Sun, 02 Dec 2001 23:50:53 +0000
Subject: Re: content disposition and internet exploder
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76360@lists.php.net to get a copy of this message
That works fine in IE but does not work in NS, undoubtedly because it does not conform to the RFC. Fred Jason Murray <Jason.Murray@melbourneit.com.au> wrote in message news:1595534C9032D411AECE00508BC766FB02CE3B2D@mercury.mit... > > 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 > jasonm@melbourneit.com.au > Web Developer, Melbourne IT > "Work now, freak later!"

« previous php.general (#76360) next »