Mr_Splash
asked on
Uploading an flv, mime type in IF statement not working
I'm trying to upload an flv file, but am having some problems.
I've extended the php.ini to allow for the file sizes, so I know it's not due to that.
At the point of my script shown below, it's not going inside the IF statement.
I'm pretty sure it's to do with the MIME as the IF statement works on uploading an image (when MIME is image/jpeg)
Any ideas?
Thanks
I've extended the php.ini to allow for the file sizes, so I know it's not due to that.
At the point of my script shown below, it's not going inside the IF statement.
I'm pretty sure it's to do with the MIME as the IF statement works on uploading an image (when MIME is image/jpeg)
Any ideas?
Thanks
if ($HTTP_POST_FILES['ufile']['type'][1]=="video/x-flv") {
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It was "application/octet-stream"