i am using this condition to check my uploaded csv file.
$_FILES['csv_file'][开发者_运维百科'type'] == "application/octet-stream"
||
$_FILES['csv_file']['type'] == "text/plain"
even-though i am uploading csv file it show error i.e my csv file not uploading...
hey, did you checked the webserver has permissions to upload files to the directory your are trying to upload?
maybe a bit more of code will help here..
精彩评论