in reply to Re^2: CGI error: "Invalid header value contains a newline not followed by whitespace"
in thread CGI error: "Invalid header value contains a newline not followed by whitespace"

You call header() and redirect(), but redirect() itself calls header(), and in HTTP you only print headers once
  • Comment on Re^3: CGI error: "Invalid header value contains a newline not followed by whitespace"