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
    I am sooo embarrased. I should have known that.

    Thank You Aristotle

    Joseph A. Ruffino
    Automated Systems Assistant
    Gail Borden Public Library District
    270 N. Grove Ave
    Elgin, Il, 60120
    847-742-2411 x5986