<form name="form1" method="post" action="xiangqingact.php" enctype="multipart/form-data" onsubmit="return sumbit_sure()">
<input type="file" name="file" id="file"><br>
必须加上enctype="multipart/form-data"才能上传
<form name="form1" method="post" action="xiangqingact.php" enctype="multipart/form-data" onsubmit="return sumbit_sure()">
<input type="file" name="file" id="file"><br>
必须加上enctype="multipart/form-data"才能上传