脚 本 之 家 www.jb51.net
页面导航:  不限条件-->户
本地搜索:
MySQL管理员应该知道怎样通过指定哪些用户可连接到服务器、从哪里进行连接,以及在连接时做什么,来设置MySQL用户账号。MySQL3.22.11引入了两个更容易进行这项工作的语句:GRANT 语句创建MySQL用户并指定其权限,REVOKE 语句删除权限。这两个语句充当mysql数据库中的授权表的前端,并提供直接操纵这些表内容的可选择的方法。GRANT 和REVOKE 语句影响以下四个表:   授权表 内容  user 可连接到服务器的用户和他们拥有的任何全局特权  db 数据库级的特权  tables ...
http://www.jb51.net//article/4884.htm
postinfo.htm<head><title>星河影动之回应用户请求信息</title></head><body><formaction="postdata.asp"method="post">'使用Post方法 <p>请输入您的姓名:<inputname="name"size="20"><br>电子信箱:<inputname="e_mail"size="40"></p> <hr> <p><input...
http://www.jb51.net//article/4812.htm
domainname.asp<formmethod="POST">  请输入域名:<inputtype="text"name="DomainName"size="20">  <inputtype="submit"value="提交"name="B1">  <inputtype="reset"value="重写"name="B2"></form><%ifisempty(request("domainname"))ortrim(request("domainname"))=...
http://www.jb51.net//article/4808.htm
<%@LANGUAGE="VBscript"%><%RequestName=Request.Form("Name")RequestLeaveMeAlone=Request.Form("LeaveMeAlone")IfRequestName< >""orRequestLeaveMeAlone< >""then'在同一个页面中检查表单变量. Response.Cookies("MySiteVisitorName")=RequestName Response.Cookies("MySiteVisitorName").E...
http://www.jb51.net//article/4806.htm
如何判断用户是否非正常离开聊天室?  total=application("AllPeople")'聊天总人数.  aryHuman=split(total,";")  fori=lbound(aryHuman)toubound(aryHuman)-1  ifapplication("user"&i)="online"then  ifint(timer)-int(application("TimeBegin"&i))>120then  applicati...
http://www.jb51.net//article/4778.htm
count.asp'计数器的核心程序.<%Setconn=Server.CreateObject("ADODB.Connection")dbpath=server.MapPath("count.mdb")conn.open"driver={MicrosoftAccessDriver(*.mdb)};dbq="&DbPathuser=Request.QueryString("user")sql="updatecounttablesetcurvalue=curvalue+1whereuser='"&user&"'"'计数值加1.conn.Executesqlsql="...
http://www.jb51.net//article/4766.htm
'设置好global.asa文件,如下:<scriptLANGUAGE="VBScript"RUNAT="Server">SubApplication_OnStart   Application("ActiveUsers")=0   '设置计数初始值,可以根据自己的需要哦.EndSubSubSession_OnStart   Session.Timeout=20'根据需要,设置超时时间.   Session("Start")=Now'设置一个Session开始时间...
http://www.jb51.net//article/4763.htm
如何让计数器只对新进用户计数?<scriptlanguage=vbscriptrunat=server>subapplication_onstartfilepath=server.mappath("/count")filename=filepath+"\counter.txt"setfs=createobject("scripting.filesystemobject")ifnotfs.fileexists(filename)then fs.createtextfile(filename)   setf=fs.getfile(filename...
http://www.jb51.net//article/4761.htm
<%id=Request("id")newpassword=Request("password")newpasswordtemp=Request("passwordtemp")Ifnewpassword<>newpasswordtempThenResponse.Write"<center>对不起,密码未能确认,请重新输入!</center>"Response.EndEndIf Setconn=Server.CreateObject("ADODB.Connection")DBPath=Server.MapPath("userinfo.mdb")...
http://www.jb51.net//article/4750.htm
<%@language="vbscript"%><%setmail=server.CreateObject("cdonts.newmail")mail.subject="恭喜,您在随风起舞注册成功,感谢您的参与!"mail.to=mailidmail.from="song@intels.net"mail.body="这是随风起舞寄给您的初始密码"&vbcrlf&href='mailto:mailid="user@intels.net'>mailid="user@intels.net"address="address"setconn=server.Crea...
http://www.jb51.net//article/4748.htm
<%'读取用户输入的账号和密码.UserID=Request("UserID")Password=Request("Password")'检查UserID及Password是否正确.IfUserID<>"hrmis"OrPassword<>"password"ThenResponse.Write"噢,您的口令错误!请重新输入."Response.EndEndIf'将Session对象设置为通过验证状态.Session("Passed")=True%> -------------------------------------------------...
http://www.jb51.net//article/4742.htm
共有:255/10,当前19/26页  [首页] [上一页] 15 16 17 18 19 20 21 22 [下一页]  [尾页] 转到: