> 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]

Reply via email to