in reply to CGI script "malformed header" error
You need to add a second newline after the headers, as in
print "Content-type: text/html\n\n";
You may want to keep Troubleshooting Perl CGI scripts in mind next time you run into a problem.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bad Header
by Midnite (Acolyte) on Aug 10, 2004 at 19:13 UTC |