in reply to Re: Output CSV-file, can't get filename recognized.
in thread Output CSV-file, can't get filename recognized.

Genius. Pure genius.

The post you linked to reminded me to check my "\n", and as you'll see on double-checking my original post, I forgot a "\n" at the end of the first line. Fixing that made it work.

Thanks.

  • Comment on Re^2: Output CSV-file, can't get filename recognized.

Replies are listed 'Best First'.
Re^3: Output CSV-file, can't get filename recognized.
by moritz (Cardinal) on Jan 30, 2008 at 19:25 UTC
    ... and the missing newline explains exactly what happened:
    The browser treated everything up to the first newline as a content-type, didn't recognize it, and therefore opened as "save as" dialog instead of displaying it.

    And it had no filename specification, so it used the script name from the URL.