请问同学们是怎么学这几篇的,关于单文件上传我就学了一天。自己先理解全部代码,最后自己写代码,再到完全实现。虽然如此,但是我到这篇感觉还是有点吃力,因为感觉三维数组有点吃力,不知道同学们你们的情况是什么样的
2016-08-11
print_r($_FILES);
$filename = $_FILES['mxy']['name'];
$type = $_FILES['mxy']['type'];
$tmp_name = $_FILES['mxy']['tmp_name'];
$error = $_FILES['mxy']['error'];
$size = $_FILES['mxy']['size'];
move_uploaded_file($tmp_name,"wjimg/".$filename);
但是我这个代码 文件传不上去啊
$filename = $_FILES['mxy']['name'];
$type = $_FILES['mxy']['type'];
$tmp_name = $_FILES['mxy']['tmp_name'];
$error = $_FILES['mxy']['error'];
$size = $_FILES['mxy']['size'];
move_uploaded_file($tmp_name,"wjimg/".$filename);
但是我这个代码 文件传不上去啊
2016-07-27