my $fn = $html->param ('photofile'); my $fh = $html->upload ('photofile');