Changeset 447 for branches/htmlform/cgi-bin/search.cgi
- Timestamp:
- 07/27/10 13:15:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/htmlform/cgi-bin/search.cgi
r439 r447 14 14 use warnings; 15 15 use CGI::Carp qw(fatalsToBrowser); 16 use CGI::Simple; 16 17 use DBI; 17 18 use CommonWeb qw(:ALL); … … 52 53 # Global variables 53 54 my $RESULTS_PER_PAGE = 25; 54 my %webvar = parse_post(); 55 cleanInput(\%webvar); 55 56 # Set up the CGI object... 57 my $q = new CGI::Simple; 58 # ... and get query-string params as well as POST params if necessary 59 $q->parse_query_string; 60 61 # Convenience; saves changing all references to %webvar 62 ##fixme: tweak for handling <select multiple='y' size=3> (list with multiple selection) 63 my %webvar = $q->Vars; 56 64 57 65 if (defined($webvar{rpp})) {
Note:
See TracChangeset
for help on using the changeset viewer.