FLV视频上传?

I use if($_FILE['type']['video/flv']) but it does not upload it. Can anyone help me? I'll be thankful to you.

The mime type for flv is now 'video/x-flv', have a try.

Don't rely on $_FILES['somefilefield']['type']. There are many reasons why a browser might fill it in with the 'wrong' media type. At best you can use the submitted type as an advisory for guessing what kind of file you've got, but you should never require it to match anything in particular.

In this case, most Windows desktops won't be set up to have any filetype association for the video/x-flv MIME type. So to Windows, a .flv file is nothing but an unknown binary file, and that's what it'll tell your server it's sending.