⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 upfile.asp

📁 学校网上书店用于学校网上卖书或者方便学生了解学校图书都具体有什么图书
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/config.asp"-->
<!--#include file="inc/chk.asp"--> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>大学网上书店</title>
<link href="../style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.bt {font-size: 9pt; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; height: 16px; width: 80px; background-color: #eeeeee; cursor: hand}
.tx1 {height: 20px; width: 30px; font-size: 9pt; border: 1px solid; border-color: black black #000000; color: #000000}
-->
</style>


</head>

<body>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="561" align="left" valign="top">
      <br>      <table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><img src="../images/w.gif" width="18" height="18"></td>
          <td style="color:#415373">上传图片</td>
        </tr>
      </table>      <form name="form1" method="post" action="supfile.asp" enctype="multipart/form-data" onSubmit="checkImage('file1')">
        <input type="hidden" name="act" value="upload">
        <table width="560" border="0" cellspacing="2" cellpadding="2" align="center" >
          <tr align="center" valign="middle">
            <td height="60" align="center"  >
        <input type="hidden" name="filepath" value="../bookimages/">
        文件:
        <input type="file" name="file1"  value="">
        <script language=javascript>
function checkImage(sId)
{
  if(( document.all[sId].value.indexOf(".gif") == -1) && (document.all[sId].value.indexOf(".jpg") == -1)) {
    alert("请选择gif或jpg的图象文件");
    event.returnValue = false;
    }
}
        </script>
        <input type="submit" name="Submit" value="提交">
小图片尺寸控制在85x125</td>
          </tr>
        </table>
      </form></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -