- 博客(5)
- 资源 (64)
- 收藏
- 关注
原创 Asp 生成随机字符串13位(循环输出500次无报错)
%@ LANGUAGE = VBScript %> % 参数digits,表示随机数的位数 Function GetKey(digits) dim char_array(36) dim output,num char_array(0) = "0" char_array(1) = "1"
2008-03-12 15:03:00 1601
原创 Asp 生成随机字符串13位
%@ LANGUAGE = VBScript %>html>title>生成随机字符串title>body>%Function gen_key(digits)定义并初始化数组 dim char_array(80) 初始化数字 For i = 0 To 9 char_array(i) = CStr(i) Next 初始化大写字母 For i = 10
2008-03-12 14:19:00 1867
原创 防止asp被SQL注入
Function Filter_SQL(str) str = Replace(str,"","") str = Replace(str,";","") str = Replace(str,"&","") str = Replace(str,"%20","") str = Replace(str," ","")
2008-03-12 14:05:00 1143
原创 百度留言板 嵌入到网站中
http://sfhelp.baidu.com/msg/side.html?userid=agoSCRIPT language=JavaScript src="http://sfhelp.baidu.com/msg/js/774/795774.js" charset=gb2312>SCRIPT>DIV id=eMeng style="Z-INDEX: 99999; LEFT: 779px; V
2008-03-12 13:57:00 7954 22
原创 关于安装IIS 后 只能运行htm文件 不能运行ASP的问题解决
问题:我安装了IIS,并且把我的asp文件(index.asp)放在了默认的主目录wwwroot文件夹内,打开ie运行http://localhost/index.asp,可是页面显示打不开,http 500 内部服务器错误.但是输入http://localhost/index.htm (index.htm也 解决步骤: 1、查看网站属性—
2008-03-11 11:22:00 4673
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人