That's because the HTTP headers end with the first blank line. If you start with a blank line, the server says "oh, that's the end of the headers: I'm going to assume this is just text, then". When the browser is told "this is text", it just displays it.
This is sort of like the old doctor joke: "Doctor, it hurts when I do this!" -- stop doing that. ;-)
In reply to Re: CGI Output in an excel file
by radiantmatrix
in thread CGI Output in an excel file
by valavanp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |