I found the following in a book when trying to find out the file's MIME
type, but it doesn't work. Am I missing something obvious? Thanks. M.
code:
#!/usr/bin/perl -W
use CGI ':standard';
$file = param('music_file');
$info = uploadInfo ($file);
$type = $info -> {'Content-Type'};
print "Content-type:text/html\n\n";
print $type;
exit;
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: file's MIME type mario kulka
- Re: file's MIME type Wiggins d'Anconia
- Re: file's MIME type Janek Schleicher
- Re: file's MIME type mario kulka
- Re: file's MIME type wiggins
- Re: file's MIME type mario kulka
- Re: file's MIME type mario kulka