[NBLUG/talk] CGI programming memory lapse

Chris Palmer chris at eff.org
Mon Jun 5 13:01:10 PDT 2006


Troy Arnold writes:

> use CGI;
> 
> $q = new CGI;
> print $q->header;
> print $q->param('foo');

Looks like you've got a few typos and misspellings in there.  For
example, you spelled "#!/usr/bin/perl -T\n\nuse warnings;\nuse strict\n"
as "".  You also omitted the crucial "sanitize_input" keyword.

;)


-- 
https://www.eff.org/about/staff/#chris_palmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://nblug.org/pipermail/talk/attachments/20060605/b59502a5/attachment.pgp


More information about the talk mailing list