Keep It Simple, Stupid | |
PerlMonks |
Re: GD malformed header errorby projekt21 (Friar) |
on Apr 04, 2002 at 14:08 UTC ( [id://156660]=note: print w/replies, xml ) | Need Help?? |
When running a CGI you need to output (print) what the browser shall see. Normally this is HTML-Code, but plain text or images are fine, too. First of all you need to print a header containing the content-type and two newlines:
... and remove that line saying: Context: .... This should work for a trial. I would further encourage you to use strict;, enable warnings (-w) AND use CGI;.
I'm sure, GD is not to blame. alex pleiner <alex@zeitform.de>
In Section
Seekers of Perl Wisdom
|
|