in reply to Content-Type: text/html

Seems indeed that you have more than one header printed out, otherwise you would get an error rather than "Content-Type: text/html" printed out.

It looks to me like you have this script called within another script, where there is already a header in there. You should check on that.

--cs

update: oakbox is right, as was ginseng: An empty line before any content is sent might be the cause. I didn't read ginseng's post properly there, sorry.

--cs

Replies are listed 'Best First'.
Re: Re: Content-Type: text/html
by oakbox (Chaplain) on Jul 03, 2001 at 22:56 UTC
    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