
asp
文章平均质量分 59
lchsh1007
这个作者很懒,什么都没留下…
展开
-
ASP 编程中 20 个非常有用的例子
http://tech.163.com/special/a/000915SU/asp123.html1.如何用Asp判断你的网站的虚拟物理路径 答:使用Mappath方法 The Physical path to this virtual website is: 2.我如何知道使用者所用的浏览器? 答:使用the Request object方法 strBrowser=Request.转载 2009-01-14 09:28:00 · 339 阅读 · 0 评论 -
用不同的域名访问同一个空间上面不同的网站
取得HTTP输入的值并付值到HTOST中host=lcase(request.servervariables("HTTP_HOST"))开始条件跳转SELECT CASE host 如果HOST的值www.abc0.com就选择事件case"www.abc0.com"的命令CASE "www.abc0.com" Below is the redirect commandresponse.转载 2009-01-14 09:52:00 · 664 阅读 · 0 评论 -
ASP实例:一个简单的ASP无组件上传类
var self = Request.serverVariables("SCRIPT_NAME");if (Request.serverVariables("REQUEST_METHOD")=="POST"){ var oo = new uploadFile(); oo.path = "myFile"; //存放路径,为空转载 2009-01-14 09:32:00 · 488 阅读 · 0 评论 -
用文本+ASP打造新闻发布系统
//图片上传〈SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT〉 Function GetUpload(FormData) Dim DataStart,DivStr,DivLen,DataSize,FormFieldData 分隔标志串(+CRLF) DivStr = LeftB(FormData,InStrB(FormData,str2bin(VbCrLf)) +转载 2009-01-14 09:38:00 · 431 阅读 · 0 评论 -
六行代码实现无组件上传
Dim Upload,filename [color=Red]第1行[/color] set Upload=new AnUpLoad [color=Red]第2行[/color] Upload.GetData() [color=Red]第3行[/color] filename=Upload.save("file1").AsThis(server.mappath("."),0转载 2009-01-14 09:37:00 · 510 阅读 · 0 评论 -
级联菜单
无标题文档 sql = "select [id],[type] from [btype]" set rs = conn.execute(sql) if rs.eof or rs.bof转载 2009-01-14 09:41:00 · 491 阅读 · 0 评论 -
flash结合asp制作出的显ip,版本,登陆时间,访问次数
首先需要2个asp文件,1个文本文件,还有就是1个swf文件了。 -------------------info.asp----------------------------//这里是显示ip,版本,登陆时间的 set userip = Request.ServerVariables("HTTP_X_FORWARDED_FOR") If userip = "" Then userip = Re转载 2009-01-14 09:33:00 · 380 阅读 · 0 评论 -
级联菜单2
this is frist select 猪类 人类 this is second select 请选择上一菜单 var links = document.menus.转载 2009-01-14 09:44:00 · 753 阅读 · 0 评论 -
flash和asp分页的一点心得
http://www.blue1000.com/bkhtml/2006-03/44500.htm看了这个的一些帖子,学到了很多东西,现在和大家一起分享Flash现在只是一个显示的功能,过程中看了一些别人的东西,觉得分页似乎有很简单的实现方式.基本上都是用XML传送的.显示用 list 组件和 datagrid 都可以,这里我用的是动态文本,因为觉得组件用的太麻烦了.所以用了蠢办法,没办法,找不到转载 2009-01-14 09:39:00 · 540 阅读 · 0 评论 -
上传的中文名
mySmartUpload上传的中文名安图片不能显示解决方法!" width="215" height="170" />转载 2009-01-14 09:36:00 · 353 阅读 · 0 评论 -
级联菜单1
级联菜单 " ResultSet rs=stmt.executeQuery(sql);%>var onecount;onecount=0;subcat = new Array(); int count = 0; while(rs.next()){ %>subcat[ ] = new Array( ,, );转载 2009-01-16 12:11:00 · 545 阅读 · 0 评论