Re: Premature Ending of script headers



Gunnar Hjalmarsson wrote:
But I don't really know how to solve it.

#!/usr/bin/perl
print "Context-type: text/html\n\n";
print "Hello EveryOne";

--------------------------------------
Even this sample doesn't work.


Try content-type.

Even more important- set the *correct* Content-type.

   You're setting text/html then sending text/plain.  Sort it out...


-- Just because I've written it doesn't mean that either you or I have to believe it. .