good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Popup displays HTML source, not expected web pageby tcf22 (Priest) |
on Oct 02, 2003 at 20:50 UTC ( [id://296078]=note: print w/replies, xml ) | Need Help?? |
Is this all that your script contains? My first guess would be that you may have excluded some code before this, and that code is throwing out some sort of warning, which is messing up the headers. Everything that you posted looks correct and print "Content-type: text/html\n\n"; should be all the headers that you need.
If there is anymore info that you could give, I could probably give you a better answer. - Tom
In Section
Seekers of Perl Wisdom
|
|