Just guessing here, but wouldn't it be possible to
put something like:
application/msword doc
application/vnd.ms-excel xls
application/vnd.ms-powerpoint ppt
and skip the coding?
Mike
No, because then MediaWiki won't let you upload the file because the
system sees the ppt and xls files as msword mime type. The real problem
is that all of those formats have the same magic number, so you have to
do trickery.
This may be different with older version of office, but the newer
versions seem to do this.
V/r,
Ryan Lane