in reply to Re: Premature end of script headers?
in thread Premature end of script headers?
If I were missing a header altogether though, wouldn't I get a malformed header error, not a premature end of header?
I have a line in my code that prints print "Content-Type: text/html\n\n"; before anything else. What has me confused is why the script runs in the browser with some parameters but not with others when the only thing I changed is the database I was using.
Regardless of the parameters passed, the script runs fine from the command prompt. The header info produced in that manner looked ok to me too. I believe that the problem has nothing to do with the actual header. . . I think that perl dying in that manner is producing the header problems.
Still stumped,
MrCromeDome
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Premature end of script headers?
by stefan k (Curate) on Jun 21, 2001 at 21:04 UTC |