in reply to Newbie cgi question
Gilimanjaro's point about using CGI is doubly made by the typo in your header. There should be a space after the colon and, as a result, you have no guarantee that the Web browser will parse things correctly. Further, if you're not using HTML, you may as well specify a plain text content type:
use CGI qw(:standard); print header('text/plain');
See my .sig for the location of my CGI course. You might find it useful.
Cheers,
Ovid
New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Newbie cgi question
by sidhartha (Acolyte) on Jan 29, 2003 at 20:08 UTC |