I will keep my eyes open though.. who knows..
]]>what do you have in your /etc/mime.types?
You should have something like this..
video/x-ms-wmv wmvyou could also add this to your apache config..
AddType video/x-ms-wmv .wmv
That is in there, but, from what I understand, the way the app is written, php relies solely on the magic file as a classification. The way that the app is coded, the mime.types are used to check against what the magic file says that it is. If there is any doubt, then .txt is appended to the upload. This is to prevent the accidental or malicious misidentification of the file. A blunt tool, but very effective.
]]>You should have something like this..
video/x-ms-wmv wmv
you could also add this to your apache config..
AddType video/x-ms-wmv .wmv
this is all i have..
cat magic | grep "video" 0 string 000001263 video/mpeg 0 byte 1 video/unknown 0 byte 2 video/unknown # Quicktime video, from Linus Walleij <triad@df.lth.se> 4 string moov video/quicktime 4 string mdat video/quicktime
Yeah, me as well. The CMS system that I use just switched to enforcing apache's magic file, so any wmv attachments that I make are appended with .txt. I've got most everything else set up in the magic file, so people have to rename the .wmv files, or I just don't put wmv's up.
But I learned about the magic file right quick.
]]>cat magic | grep "video"
0 string 000001263 video/mpeg
0 byte 1 video/unknown
0 byte 2 video/unknown
# Quicktime video, from Linus Walleij <triad@df.lth.se>
4 string moov video/quicktime
4 string mdat video/quicktime