Actually, the blank line(s) before the
"Content-Type: text/html"
line is a possible cause here. Some non-standard HTML
browsers (>MSIE<) will
assume HTML content and just
print out everything to the screen (including the misplaced
content-type statement).
Other
browsers,
like Netscape and Opera, display what they are supposed
to display. That is, they break like they are supposed to :)
Richard