|
I would suggest looking at your own bold lines there, and extend it to have wmv files aswell..
If you dont know what $_FILE['file']['type'] it is expressed as, then perhaps make a pseudo code which dosn't upload but only displays this info..
Fom there just alter your acceptance demands to fit what this variable holds.
Or perhaps I would swing by php.net and look up the $_FILE variable to see if it is mentioned anywhere, or perhaps take a look at move_uploaded_file() description there to see if anyone has been so kind to show a small example which takes videos...
Aaarrg, now I used up my salch-quota for this week helping you salchester, hope you can use some of the pointers given here, and next time think in that same direction as I've just described.
|