php .flv file uploading issue
<p>well I can upload image, mp3, mp4, .doc file etc with the following form. But it's doesn't upload .flv file. Anyone can tell me what is the problem in my code or how can i upload .flv..</p>

<pre><code>&lt;?php

$mysql_connect = mysql_connect("localhost", "root" );
mysql_select_db("vedio");

ini_set('upload_max_filesize','1000M');

if(isset($_POST['action']) == "upload")
{
$name = $_FILES['file']['name'];    
$tmp_name = $_FILES['file']['tmp_name'];    
$size = $_FILES['file']['size'];    
$type = $_FILES['file']['type'];    
$name = str_replace(" ", "", $name);



                $sql = mysql_query("INSERT INTO content VALUES('', 
'$name', '$tmp_name', '$size' )");  
                if($sql)
                {
                    echo "successfully uploaded";   
                }
                else
                {
                    echo "Something is wrong to upload";    
                }



$upload = "vedio/";
move_uploaded_file($_FILES['file']['tmp_name'], $upload . $name);
echo "&lt;br/&gt;";
echo $name; 
echo "&lt;br/&gt;";
echo $tmp_name;
echo "&lt;br/&gt;";
echo $size;
echo "&lt;br/&gt;";
echo $type;

}

?&gt;



&lt;form action="&lt;?php echo $_SERVER['PHP_SELF']; ?&gt;" method="post"    
enctype="multipart/form-data"&gt;
&lt;input type="hidden" name="MAX_FILE_SIZE" value="100000000000" /&gt;
&lt;table width="400" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tr&gt;
&lt;td&gt;&lt;input type="file" name="file" /&gt;&lt;/td&gt;
&lt;td&gt;&lt;input type="submit" value="upload" name="action" /&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;/form&gt;
</code></pre>

<p><strong>Many Thanks.</strong><br>
Shibbir</p>
