Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Answer: How to get over 'premature end of script headers' in Apache?

by le (Friar)
on Jul 26, 2000 at 15:32 UTC ( #24449=categorized answer: print w/replies, xml ) Need Help??

Q&A > debugging > How to get over 'premature end of script headers' in Apache? - Answer contributed by le

Be sure to send correct HTTP headers:

print "Content-type: text/html\n\n";
or
use CGI; print header();

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[shmem]: hmm.. which makes emerge the question: is there a way to attach a subroutine to a variable, which is run as soon as that variable changes?
[moritz]: through a tie?
[shmem]: moritz: of course!
shmem slaps forehead m(
[shmem]: consider, then, @CBMonks as a tied variable which triggers withdrawing empty cups and serving new ones
[GotToBTru]: it's always teatime somewhere

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-04-24 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (439 votes). Check out past polls.