Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Content-Type: text/html

by schumi (Hermit)
on Jul 03, 2001 at 18:16 UTC ( [id://93507]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://93507]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found