[問題] 上傳檔案不能上傳wmv檔
我寫了一個上傳檔案的程式
很普通的那種
<input type="file" name="uploadfile" id="uploadfile" />
move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file);
可是不知道為什麼上傳什麼檔案都會成功(試過JPEG、RAR、xsls、mpg)
就只有wmv檔上傳會失敗
測過好像也不是副檔名的關係
用is_uploaded_file($_FILES['uploadfile']['tmp_name'])判斷會變成FALSE
請問有什麼方法可以解決這個問題呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.105.61
→
10/29 22:38, , 1F
10/29 22:38, 1F
→
10/29 22:56, , 2F
10/29 22:56, 2F
推
10/30 04:36, , 3F
10/30 04:36, 3F
→
11/01 11:09, , 4F
11/01 11:09, 4F