当前位置 博文首页 > 在无组件的情况下,如何上传图片?

    在无组件的情况下,如何上传图片?

    作者:admin 时间:2021-08-29 19:06

    <html>

    <head>

    <title>星河影动</title>

    </head>

    <body>

    <tr>

    <td height="69"><p align="center">撼雪喷云之无组件上传图片</font></td>

    </tr>

    <tr>

    <td height="9">

    <form enctype="multipart/form-data" action="upload.asp" method="post">

    ' 请求表单信息的编码类型必须使用enctype="multipart/form-data".

    <div align="center"><center><p>请选择上传的图片: <br>

    </font>  

    <input name="picture" type="file" accept="image/*"><br>

    ' accept将对话框中出现的文件类型限制为图文件.

    <input type="submit" value="现在上传"></p>

    ' 创建上传键.

    </center></div>

    </form>

    </td>

    </tr>

    </table>

    </center></div>

    <p>  </p>

    </body></html>

     

     

    [1]

    jsjbwy
    下一篇:没有了