打印出来的数组为空,求助!!!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <!DOCTYPE html> < html > < head > < title ></ title > </ head > < body > <!-- 在客户端准备的表单页面,用于上传文件 --> <!-- 上传文件的method 和enctype都不能写错,否则不会上传成功 --> < form action = "doaction.php" method = "post" enctype = "multipart/form-data" > < p style = "text-align: center;" > < strong > 请上传您的头像 </ strong > </ p > < p style = "text-align:center;" > < input type = "file" value = "myfile" > </ p > < p style = "text-align:center;" > < input type = "submit" value = "点击提交" > </ p > </ form > </ body > </ html > |
代码如上,