Changeset 447 for branches/htmlform/cgi-bin/admin.cgi
- Timestamp:
- 07/27/10 13:15:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform/cgi-bin/admin.cgi
r438 r447 15 15 use warnings; 16 16 use CGI::Carp qw(fatalsToBrowser); 17 use CGI::Simple; 17 18 use DBI; 18 19 use CommonWeb qw(:ALL); … … 62 63 } 63 64 64 my %webvar = parse_post(); 65 cleanInput(\%webvar); 65 # Set up the CGI object... 66 my $q = new CGI::Simple; 67 # ... and get query-string params as well as POST params if necessary 68 $q->parse_query_string; 69 70 # Convenience; saves changing all references to %webvar 71 ##fixme: tweak for handling <select multiple='y' size=3> (list with multiple selection) 72 my %webvar = $q->Vars; 66 73 67 74 print "Content-type: text/html\n\n".
Note:
See TracChangeset
for help on using the changeset viewer.