use CGI; my $q = new CGI; my $file = $q->param('myfile') my $type = $q->uploadInfo($file)->{'Content-Type'}; print "$type\n";
In reply to Re: Getting File Type using Regular Expressions
by kiat
in thread Getting File Type using Regular Expressions
by bkiahg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |