歡迎來到裝配圖網(wǎng)! | 幫助中心 裝配圖網(wǎng)zhuangpeitu.com!
裝配圖網(wǎng)
ImageVerifierCode 換一換
首頁 裝配圖網(wǎng) > 資源分類 > DOC文檔下載  

管理員登錄系統(tǒng)

  • 資源ID:16558921       資源大?。?span id="aq0o3x7" class="font-tahoma">58KB        全文頁數(shù):16頁
  • 資源格式: DOC        下載積分:5積分
快捷下載 游客一鍵下載
會員登錄下載
微信登錄下載
三方登錄下載: 支付寶登錄   QQ登錄   微博登錄  
二維碼
微信掃一掃登錄
下載資源需要5積分
郵箱/手機(jī):
溫馨提示:
用戶名和密碼都是您填寫的郵箱或者手機(jī)號,方便查詢和重復(fù)下載(系統(tǒng)自動生成)
支付方式: 微信支付   
驗證碼:   換一換

 
賬號:
密碼:
驗證碼:   換一換
  忘記密碼?
    
友情提示
2、PDF文件下載后,可能會被瀏覽器默認(rèn)打開,此種情況可以點擊瀏覽器菜單,保存網(wǎng)頁到桌面,就可以正常下載了。
3、本站不支持迅雷下載,請使用電腦自帶的IE瀏覽器,或者360瀏覽器、谷歌瀏覽器下載即可。
4、本站資源下載后的文檔和圖紙-無水印,預(yù)覽文檔經(jīng)過壓縮,下載后原文更清晰。
5、試題試卷類文檔,如果標(biāo)題沒有明確說明有答案則都視為沒有答案,請知曉。

管理員登錄系統(tǒng)

管理員登錄系統(tǒng)   第一?。。。?!  1,(index.asp 用戶登陸頁面)  !-- #include file=conn.asp --  !-- 悠悠長假期 --  html  head  meta http-equiv=Content-Type content=text/html; charset=gb2312  title會員/title  style type=text/css  !--  body,td,th {   font-family: 宋體;   font-size: 14px;  }  --  /style  /head  body  center  p會員注冊系統(tǒng)/p  form name=form1 method=post action=login.asp  table width=34% border=0  tr  td width=33% height=30用戶名:/td  td width=67% height=30input name=username type=text id=username size=15/td  /tr  tr  td height=30密 碼:/td  td height=30input name=password type=password id=password size=15/td  /tr  tr  td colspan=2 align=centerinput type=submit name=Submit value=確定  input type=reset name=Submit value=重置/td  /tr  tr  td colspan=2a href=reg.asp target=_self注冊/a/td  /tr  /table  /form  /center  /body  /html  2,(login.asp 用戶數(shù)據(jù)處理文件)  !-- #include file=conn.asp --  %  打開數(shù)據(jù)庫判斷用戶是否存在,info為表名,username為字段名  set rsc=server.createobject(adodb.recordset)  sqlc=select * from info where username=request.Form(username) and password=request.Form(password)  rsc.open sqlc,conn,1,1  session(username)=rsc(username)  session(password)=rsc(password)  session.Timeout=30  set rsc=nothing  response.Redirect(change.asp)  如果用戶不存在,session(username)為空  %  3,(change.asp 用戶信息修改頁面)  !-- #include file=conn.asp --  html  head  meta http-equiv=Content-Type content=text/html; charset=gb2312  title修改/title  style type=text/css  !--  body,td,th {   font-size: 14px;  }  --  /style/head  center  body  br  %  set rsc=server.createobject(adodb.recordset)  sqlc=select * from info where username=session(username) and password=session(password)  rsc.open sqlc,conn,1,1  nr=rsc(password)  username=rsc(username)  password=rsc(password)  sex=rsc(sex)  qq=rsc(qq)  mail=rsc(mail)  add=rsc(add)  personalinfo=rsc(personalinfo)  vv=rsc(ntime)  set rsc=nothing  if nr= then  response.Redirect(index.asp)  end if  if strcomp(nr,request.Form(password))=0 then  response.Write(歡迎你!request.Form(username))  response.Write(你是在vv注冊的)  session(username)=request.Form(username)  end if  if session(username)= then  response.Redirect(index.asp)  end if  %  form name=form1 method=post action=change.asp?ac=ch  table width=39% height=105 border=0  tr  td width=27% height=30用戶名:/td  td width=73% height=30input name=username type=text id=username value=%=username%  */td  /tr  tr  td height=30密nbsp; 碼:/td  td height=30input name=password type=text id=password value=%=password%  */td  /tr  tr  td height=30性nbsp; 別:/td  td height=30input name=sex type=text id=sex value=%=sex%/td  /tr  tr  td height=30QQ:/td  td height=30input name=qq type=text id=qq value=%=qq%/td  /tr  tr  td height=30Mail:/td  td height=30input name=mail type=text id=mail value=%=mail%/td  /tr  tr  td height=30地nbsp; 址:/td  td height=30input name=add type=text id=add value=%=add%/td  /tr  tr  td介紹/td  tdtextarea name=personalinfo cols=30 rows=6 id=personalinfo%=personalinfo%/textarea/td  /tr  tr  td /td  tdinput type=submit name=Submit value=修改  a href=change.asp?se=y target=_self退出系統(tǒng)/a/td  nbsp; % if strcomp(request.QueryString(se),y)=0 then  nbsp; session(username)=  nbsp; response.Redirect(index.asp)  nbsp; end if  nbsp; %  /tr  /table  /form  %  if strcomp(request.QueryString(ac),ch)=0 then  set rs=server.createobject(adodb.recordset)  sql=select * from info where username=session(username)  rs.open sql,conn,1,3  rs(username)=request.Form(username)  rs(password)=request.Form(password)  rs(mail)=request.Form(mail)  rs(sex)=request.Form(sex)  rs(qq)=request.Form(qq)  rs(add)=request.Form(add)  rs(personalinfo)=request.Form(personalinfo)  rs.update  set rs=nothing  response.Write(修改完成!)  end if  %  /body  /center  /html  4,(reg.asp 新用戶注冊頁面)  html  head  meta http-equiv=Content-Type content=text/html; charset=gb2312  title用戶注冊/title  style type=text/css  !--  body,td,th {   font-family: 宋體;   font-size: 14px;  }  --  /style  /head  body  center  用戶注冊br  %  =request.QueryString(msg)  %  form name=form1 method=post action=addnewdata.asp?ac=adduser  table width=39% height=105 border=0  tr  td width=27% height=30用戶名:/td  td width=73% height=30input name=username type=text id=username  */td  /tr  tr  td height=30密碼:/td  td height=30input name=password type=password id=password  */td  /tr  tr  td height=30確定密碼:/td  td height=30input name=password2 type=password id=password2  */td  /tr  tr  td height=30性別:/td  td height=30input name=sex type=text id=sex/td  /tr  tr  td height=30QQ:/td  td height=30input name=qq type=text id=qq/td  /tr  tr  td height=30Mail:/td  td height=30input name=mail type=text id=mail/td  /tr  tr  td height=30地址:/td  td height=30input name=add type=text id=add/td  /tr  tr  td個人介紹/td  tdtextarea name=personalinfo cols=30 rows=6 id=personalinfo/textarea/td  /tr  tr  td /td  tdinput type=submit name=Submit value=提交/td  /tr  /table  /form  /center  /body  /html  5,(addnewdata.asp 新用戶注冊數(shù)據(jù)處理文件)  !-- #include file=conn.asp --  html  head  meta http-equiv=Content-Type content=text/html; charset=gb2312  title成功/title  /head  body  %  ac=request.QueryString(ac)  msg=注冊錯誤信息  if request.Form(username)= then  msg=msgbr用戶名不能為空  end if  if strcomp(cstr(request.Form(password)),cstr(request.Form(password2)))0 then  msg=msgbr兩次密碼輸入不同  end if  if len(request.Form(password))6 then  msg=msgbr密碼太簡單  end if  if strcomp(msg,注冊錯誤信息)0 then  response.Redirect(reg.asp?msg=msg)  end if  if ac=adduser then  set rsc=server.createobject(adodb.recordset)  sql=select * from info where username=request.Form(username)  rsc.open sql,conn,1,1  ck=rsc(username)  set rsc=nothing  if ck then  msg=msgbr用戶名被人注冊  response.Redirect(reg.asp?msg=msg)  end if  dsql=select * from info where id is null  set rs=server.createobject(adodb.recordset)  rs.open dsql,conn,1,3  rs.addnew  rs(username)=request.Form(username)  rs(password)=request.Form(password)  rs(mail)=request.Form(mail)  rs(sex)=request.Form(sex)  rs(qq)=request.Form(qq)  rs(add)=request.Form(add)  rs(personalinfo)=request.Form(personalinfo)  rs(ntime)=now  rs.update  set rs=nothing  %  center  a href=index.asp target=_self注冊成功,點擊登陸/a  /center  %  end if  %  /body  /html  6,(conn.asp 數(shù)據(jù)庫連接文件)  %  連接數(shù)據(jù)庫開始  dim conn,rs,sql  on error resume next  dbpath=server.mappath(userinfo.mdb)  set conn=server.createobject(adodb.connection)  conn.open PROVIDER=Microsoft.jet.OLEDB.4.0;data source=dbpath  創(chuàng)建記錄對象  set rs=server.createobject(adodb.recordset)  %  7,(userinfo.mdb ACCESS 數(shù)據(jù)庫)  在ACCESS中建一個表,然后在這個表中建立字段名稱  表名:info  字段名稱 數(shù)據(jù)類型  id 自動編號  username 文本  password 文本  sex 文本  quest 文本  qq 文本  mail 文本  personalinfo 文本  ntime 文本

注意事項

本文(管理員登錄系統(tǒng))為本站會員()主動上傳,裝配圖網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對上載內(nèi)容本身不做任何修改或編輯。 若此文所含內(nèi)容侵犯了您的版權(quán)或隱私,請立即通知裝配圖網(wǎng)(點擊聯(lián)系客服),我們立即給予刪除!

溫馨提示:如果因為網(wǎng)速或其他原因下載失敗請重新下載,重復(fù)下載不扣分。




關(guān)于我們 - 網(wǎng)站聲明 - 網(wǎng)站地圖 - 資源地圖 - 友情鏈接 - 網(wǎng)站客服 - 聯(lián)系我們

copyright@ 2023-2025  sobing.com 裝配圖網(wǎng)版權(quán)所有   聯(lián)系電話:18123376007

備案號:ICP2024067431-1 川公網(wǎng)安備51140202000466號


本站為文檔C2C交易模式,即用戶上傳的文檔直接被用戶下載,本站只是中間服務(wù)平臺,本站所有文檔下載所得的收益歸上傳人(含作者)所有。裝配圖網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對上載內(nèi)容本身不做任何修改或編輯。若文檔所含內(nèi)容侵犯了您的版權(quán)或隱私,請立即通知裝配圖網(wǎng),我們立即給予刪除!