Jump to content

Video Upload Types


Ell20

Recommended Posts

I just want to upload the video file to the server but I want to check the file type before I allow it to be uploaded?

 

It dosent matter want I want to use the video for after its uploaded I just want it to be uploaded but obviously I dont want people uploaded .pdf files etc so I believe there is a php command where you can do something like this:

 

($_FILES['moviefile']['type'] == "video/wmv")

 

But I wanted a list of all the possible types if possible

 

Cheers

Link to comment
https://forums.phpfreaks.com/topic/119670-video-upload-types/#findComment-616558
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.