- or download this
#!/usr/bin/perl -wT
...
# resource limits
$CGI::DISABLE_UPLOADS = 1;
$CGI::POST_MAX = 1024;
- or download this
print footer;
- or download this
sub check_value_combinations {
...
break;
}
- or download this
BEGIN {
...
die("Unable to open mycgi-log: $!\n");
carpout(LOG);
}
- or download this
print "<form><input type=\"hidden\" name=\"confirmed\" value=\"yes\">"
+;
print "<input type=\"hidden\" name=\"name\" value=\"$name\">
<input type=\"hidden\" name=\"surname\" value=\"$company\">
- or download this
$name = cgi_get('name') and $name =~ s/'`-\w\s//go; # filter name
- or download this
use CGI qw/:standard/;
use DBI;
...
# resource limits
$CGI::DISABLE_UPLOADS = 1;
$CGI::POST_MAX = 1024;