Jump to content

problem getting video 'type'


graham23s

Recommended Posts

Hi Guys,

 

when i do a test upload of 2 files: avi and mov i try to echo out the type using:

 

$video_type = $_FILES['video']['type'];

 

but it's blank, i can echo out the name using:

 

$video = $_FILES['video']['name'];

 

this works ok though, any ideas on why the type would be blank?

 

thanks guys

 

Graham

Link to comment
https://forums.phpfreaks.com/topic/56678-problem-getting-video-type/
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.