开发者

mine .csv file is not uploading?

开发者 https://www.devze.com 2023-02-05 19:06 出处:网络
i am using this condition to check my uploaded csv file. $_FILES[\'csv_file\'][开发者_运维百科\'type\'] == \"application/octet-stream\"

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..

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号