Help for this page

Select Code to Download


  1. or download this
         my $filename = $cgi->param('uploaded_file');
         my $type = $cgi->uploadInfo($filename)->{'Content-Type'};
    ...
         } else {
           print 'Not a JPEG<br>';
         }