ASP 文件上传后将文件信息插入数据库的问题
能上传但不能插入数据库信息。ASP文件代码如下:
<%
Response.Buffer = True
Server.ScriptTimeOut=9999999
On Error Resume Next
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta content="all" name="robots" />
<meta name="author" content="木目,Woodeye" />
<meta name="description" content="木目ASP文件上传工具" />
<meta name="keywords" content="木目,ASP,Upload,文件上传" />
<style type="text/css">
<!--
body,input {font-size:12px;}
-->
</style>
<title>木目ASP文件上传工具 </title>
</head>
<body id="body">
<%
ExtName = "jpg,gif,png,txt,rar,zip,doc" '允许扩展名
SavePath = "upload" '保存路径
If Right(SavePath,1) <>"/" Then SavePath=
相关问答:
<%@language="vbscript"%>
<%option explicit%>
<html>
<head> <title>xxx </title> </head>
<script language=vbs>
'注意变量 ......
我现在有一个类,
里面的数据是要在另外一个页面。转换成CheckBox
我怎么动态的添加进去?
不明白。这里是Asp.net版快,asp不懂
1楼说先的是c#
通过调用获取数据添加
CheckBoxList1.Items.Add ......
我们用asp+access写一个应用程序,希望提高数据库的安全性,所以对access数据库进行了用户级安全设置(即启用了工作组权限)。这样一来,导致原来的连接程序无效了。下面是原来的未设置工作组权限的连接代码:
......
由于对页面使用了伪静态
并且对ID进行了加密。
主要代码如下:
httpd.ini
RewriteRule /List-([0-9,a-z]*).html /List.asp\?ComId=$1 [N,I]
程序代码
A为加密,B为解密函数
<a href=&q ......