程序利用fso+serv-u(2.x版本)实现:1、注册文件index.htm<html><head><title>宁波科宇网——个人网页申请</title><meta http-equiv="content-type" content="text/html; charset=gb2312"><script language="javascript">function checkifenglish( string ){ var letters = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz1234567890-";var i;var c;if(string.charat( 0 ...
6.3版好象是用事件驱动的: // 函数: onfirstuibefore // // 事件: firstuibefore event is sent when installation is run for the first// time on given machine. in the handler installation usually displays// ui allowing end user to specify installation parameters. after this// function returns, componenttransferdata is called to perform file// transfer.// /////// onfirstuibefore()是在某台电脑上第一次运行安装时执行.// 函数: onfirstuiafte...
作为动态网站在建设过程中难免遇到在线编辑文章的问题。html提供了一个textarea标记,但是实际上没有解决这个问题,因为从textarea的是纯文本。除非在输入的时候使用了html标记,否则在输出的时候将获得从头到尾毫无结构的一盘文字。web设计中通过dhtml构建一类所见即所得的在线编辑器对这个问题有了很好的解决。 但是所见即所得并不是唯一的解决办法。笔者在上网过程中发现一些门户网站的在线编辑器非常有特色。它并不是所见即所得(但是提供了一个预览功能),而是一个textarea的文本域,但是又不支持html标记语言。而是有它自己的一套标记语言。 图1图2 笔者使用觉得非常流畅,总结其优点如下: 第一, 它的标记不多,相对于html而言非常简单,而且通过回车可以自动生成段落,容易被一般用户所接受。笔者认为如果使用中文标记,可以被更多国内用户接受。 第二, 相对所见即所得的编辑器而言用...
asp中利用数组实现数据库记录的批量录入方法(原创)演示:http://www.zwtd.com/1/yanek/n/needdj2.asp<%rem 文章题目 asp中利用数组实现数据库记录的批量录入方法(原创)作者:yanek联系email:aspboy@263.net%>包括两个文件1。allneeddj.asp:实现表单的生成2. allneeddjresult.asp 处理表单批量录入3.hbedu.mdb :数据库文件其数据库结构如下provinceid:省份编号 数值型dytaocount:打样套数 数值型papertaocount:纸样套数 数值型cpcontent:出片内容 数值型filename:文件名 文本型beizhu:备注 备注型本例子中以10条记录,每条记录6个字段说明.1。allneeddj.asp<html><head>&...
我现在在做asp的安装程序,这样可以方便用户的使用。我使用的installshield版本是installshield professional—standard edition6.3。我没有用过这个东东,问题如下: 问题一 通过project wizard-generated script 做好了copy打包工作。可是6.3版本的好象不支持主体program...endprogram,因为我看copy打包的script脚本就是通过两个fuction实现的。所以我的脚本加不进去,除非在这两个fuction中调用!请问是不是6.3版本不能使用program...endprogram,如果可以使用的话,应该如何去用?问题二想在copy完asp程序后直接实现iis的设置,也就是通过安装程序就可以完成,不需要手动设置,请问怎样去实现呢?以下就是我用project wizard-generated ...
<html><head><meta http-equiv="content-type" content="text/html; charset=gb2312"><meta name="author" content="haiwa"><title>asp生成条形码</title></head><body><%function haiwaocde(zfstr)zf = zfstrzf = replace(zf,"0","")zf = replace(zf,"1","")zf = replace(zf,"2","")zf = replace(zf,"3","")zf = replace(zf,"4","")zf = replace(zf,"5","")zf = replace(zf,"7",""...
<%'//查询方法'//-(1)- set rsworkuserinfo = server.createobject("adodb.recordset") strsql = "select usersid, loginname, username, password" strsql = strsql & " from users" strsql = strsql & " where usersid=" & sqlstr(tuserid) if rsworkuserinfo.state = 1 then rsworkuserinfo.close end if rsworkuserinfo.open strsql,conn,1,1 if not rsworkuserinfo.eof then loginname = rsworkuserinfo("loginname") user...
如果你用odbc connection (dsn or dsn-less)来访问远端的(unc path)数据库, oledb会出现以下错误信息: microsoft ole db provider for odbc drivers error ’80004005’ [microsoft][odbc microsoft access driver] the microsoft jet database engine cannot open the file ’(unknown)’. it is already opened exclusively by another user, or you need permission to view its data. 你完全可以避免这种错误--asp和activex支持两种方式打开mdb文件的dsn-less连接,或由其它机器访问mdb文件。 ...
<%function bytestobstr(body,cset) dim objstream set objstream = server.createobject("adodb.stream") objstream.type = 1 objstream.mode =3 objstream.openobjstream.write body objstream.position = 0 objstream.type = 2 objstream.charset = cset bytestobstr = objstream.readtext objstream.close set objstream = nothingend functionurl=request.form("url")if trim(url)<>"" then set xml = server.create...
************************调用*********************'* <script language="javascript" src="xxx.asp?max=8"></script>'*************************************************javastr="<div algin='center'>"<%max=request("max") '//计数器位数if request.cookies("count")="" then '//防刷set fso=server.createobject("scripting.filesystemobject") set fp=fso.opentextfile(server.mappath("count.dat")) '//计...
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器