in reply to Re^2: CGI: newlines, write exactly "\r\n" to end the headers, then turn off binmode
in thread CGI: newlines, write exactly "\r\n" to end the headers, then turn off binmode

So awesome! And hence why I see all those cgi scripts just doing print "\n\n";. Thanks for the enlightenment!

  • Comment on Re^3: CGI: newlines, write exactly "\r\n" to end the headers, then turn off binmode
  • Download Code