how to validate video file format?/
if change to this:Code:if ($HTTP_POST_FILES['file']['type'] != "image/gif" {
can work?Code:if ($HTTP_POST_FILES['file']['type'] != "video/wmv" {
Printable View
how to validate video file format?/
if change to this:Code:if ($HTTP_POST_FILES['file']['type'] != "image/gif" {
can work?Code:if ($HTTP_POST_FILES['file']['type'] != "video/wmv" {
http://archive.ncsa.uiuc.edu/SDG/Sof...nsion-map.html
"video/x-msvideo" should work.
Edit:
I lie.
wmv = "video/x-ms-wmv"
http://www.yolinux.com/TUTORIALS/Lin...lications.html