源码如下:upload.php---------------------------------------- $path='1.jpg';//你指定的相对路径地址,相对于本网页 if(isset($_POST['submit'])&&$_POST['submit']=='submit') { move_uploaded_file($_FILES['file']['tmp_name'],$path);}?>