新手,项目需要看下php, 请教一下PHP 上传问题。
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" enctype="multipart/form-data">
    <table border=1>
        <tr>
            <td>upload</td>
            <td><input type="submit" name="upload" value="UPLOAD"></td>
        </tr>
        <tr>
             <td> Upload file</td>
             <td> <input type=file name=upload_file > </td>
        </tr>                
    </table>
</form>功能很简单,问题也很简单,
当我按下 UPLOAD 按钮时, 就是当前页面不动。
当我按下 Choose File 按钮时, 选择任意文件,再按下UPLOAD 按钮时,结果为 (chrome):
This webpage is not available
The webpage at http://192.168.246.20/update.php might be temporarily down or it may have moved permanently to a new web address.
Error 103 (net::ERR_CONNECTION_ABORTED): Unknown error.问题, 为什么在选择了文件情况下,按下UPLOAD会出现无法连接的情况?