开发者

mine .csv file is not uploading?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜