From: James E. F. <jf...@ac...> - 2002-03-26 18:59:02
|
On Tue, 26 Mar 2002, Matthew Gregg wrote: > One slight change to download.inc. > - header("Content-Disposition: attachment; filename=$\"name.csv\""); > + header("Content-Disposition: attachment; filename=$name.csv"); > That fixes the extra "'s that show up in Konq. and Windows IE. Done. I am committing this part to CVS now. > What do you think of appending date/time to the > exported filename and maybe a check for empty results > before download/export? I don't know about appending the date ... you saw my comment about the "quarterly" example? How about instead of checking for empty results ... perhaps just list the number of results per survey on the export page? Checking for # on export is harder, especially in the case of downloading because by that point we have already bypassed the standard HTML headers and such. -James |