in reply to Re: Re: Premature end of script headers
in thread Premature end of script headers

There are no ther entries in the error_log? that is strange

Other posters have had great suggestions coming down to

  1. use "\r\n" instead of "\n" when sending headers (though my testing doesn't indicate that this is the problem, YMMV)

  2. turn on warnings with -w in the #! line or use warnings; in the script.

  3. run this from the command line and see what happens, possibly finding some way to feed it the values it wants. At least run as perl -cw scriptname which will find compile time errors.

  4. use CGI; to rpint the redirection (probably without the headers, as others have noted here,

--Bob Niederman, http://bob-n.com
  • Comment on Re: Re: Re: Premature end of script headers