You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/perl
|
|
|
|
use strict;
|
|
use CGI qw/:standard/;
|
|
|
|
my $q = new CGI;
|
|
|
|
my $filename = $q->param('uploaded_file');
|
|
my $contenttype = $q->uploadInfo($filename)->{'Content-Type'};
|
|
|
|
print header;
|
|
print start_html;
|
|
print "Type is $contenttype<P>";
|
|
print end_html; |