![20 Task 17 The Administrator Modifies Member InformationPHP動態(tài)網(wǎng)站開發(fā)項(xiàng)目教程課件_第1頁](http://file4.renrendoc.com/view14/M0A/3E/13/wKhkGWboCimAJCaTAADgT4pfsw0686.jpg)
![20 Task 17 The Administrator Modifies Member InformationPHP動態(tài)網(wǎng)站開發(fā)項(xiàng)目教程課件_第2頁](http://file4.renrendoc.com/view14/M0A/3E/13/wKhkGWboCimAJCaTAADgT4pfsw06862.jpg)
![20 Task 17 The Administrator Modifies Member InformationPHP動態(tài)網(wǎng)站開發(fā)項(xiàng)目教程課件_第3頁](http://file4.renrendoc.com/view14/M0A/3E/13/wKhkGWboCimAJCaTAADgT4pfsw06863.jpg)
![20 Task 17 The Administrator Modifies Member InformationPHP動態(tài)網(wǎng)站開發(fā)項(xiàng)目教程課件_第4頁](http://file4.renrendoc.com/view14/M0A/3E/13/wKhkGWboCimAJCaTAADgT4pfsw06864.jpg)
![20 Task 17 The Administrator Modifies Member InformationPHP動態(tài)網(wǎng)站開發(fā)項(xiàng)目教程課件_第5頁](http://file4.renrendoc.com/view14/M0A/3E/13/wKhkGWboCimAJCaTAADgT4pfsw06865.jpg)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
Project1MemberManagementSystemSchoolofSoftware,ChengduPolytechnicLecturer:MuQichunTask17TheAdministratorModifiesMemberInformationPrincipleofModifyingMemberInformationAmembercanmodifyhispersonalprofileafterlogin.Theadministratorcanmodifytheinformationofallusersafterlogin.Wehavecompletedthemodificationofpersonalprofileaftermemberlogin.Thisisverysimilartothemodificationofmemberinformationbytheadministrator,therefore,wedirectlymodifyinthemodify.php.Originally,theinformationtobemodifiedisobtainedinthemodify.phpbysession.Now,onlyausernameisadditionallypassedtomodify.Firstly,modifyadmin.php,andaddalinkof“Modifyinformation”intheoperationbar.Themaincodeoftheadmin.phpfileisgivenasbelow:RelevantCodeRelevantCodeRelevantCodeInLine77,linktothemodify.phpfile,andpasstheparameterID=4,whichisusedtodisplaythecurrentcolumn.Then,passtheparameterusername,whichisusedtoscreentherecordsinthedatatableinthemodify.phppage.Then,openthemodify.phpfile.Inthisfile,weshouldfirstunderstandalogicalproblem.Inthemodify.phpfile,wefirstdeterminewhethertheuserhastheloginpermission.Thenthesubsequentuserinformationismodifiedbythesession.Now,theadministratormodifiestheuserinformationbytheusernamepassedintheaddressbar.Originally,whenmodifyingthepersonalprofile,onlyverificationisconductedtodeterminewhethertologin.Butnow,whenmodifyingtheinformationofotherusers,theadministratorloginmustbeverified.Otherwise,oncetheordinaryusersknowthewayofmodifyinginformation,theycanenterothers’usernamesintheaddressbaratwill,therebymodifyingtheinformationofotherusersbeyondtheirauthority.Thecompletecodeofthemodify.phpfileisgivenbelow:RelevantCodeRelevantCodeRelevantCodeRelevantCodeConclusionThislectureintroducesthemethodofmodifyingmemberinformation.Theoriginalfilecanbequicklyreusedbypassingaparameterusernametothemodify.phpfile,soastocompletefunctionmaking.Meanwhile,byvirtueofthefront-endknowledge,thefunctionofchangingthebackg
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 新人教版七年級數(shù)學(xué)上冊1.3.2《有理數(shù)的減法》聽評課記錄2
- 八年級道德與法治上冊聽課評課記錄第一單元走進(jìn)社會生活
- 蘇科版數(shù)學(xué)七年級上冊6.2《角》聽評課記錄
- 小學(xué)二年級上冊除法口算試題
- 湘教版七年級數(shù)學(xué)下冊2.1整式的乘法2.1.4多項(xiàng)式的乘法(2)聽評課記錄
- 聘用書或聘用協(xié)議書范本
- 有限公司增資擴(kuò)股協(xié)議書范本
- 2025年度車輛租賃運(yùn)輸碳排放管理及減排協(xié)議
- 2025年度餐飲企業(yè)退休廚師返聘烹飪技術(shù)合作協(xié)議
- 二零二五年度影視作品著作權(quán)授權(quán)合同
- 護(hù)理工作中的人文關(guān)懷
- 完整液壓系統(tǒng)課件
- 2024年山東省青島市中考道德與法治試題卷(含答案及解析)
- 生產(chǎn)制造工藝流程規(guī)范與作業(yè)指導(dǎo)書
- 班級建設(shè)方案中等職業(yè)學(xué)校班主任能力大賽
- T-TJSG 001-2024 天津市社會組織社會工作專業(yè)人員薪酬指導(dǎo)方案
- 芯片設(shè)計(jì)基礎(chǔ)知識題庫100道及答案(完整版)
- 00015-英語二自學(xué)教程-unit2
- 2024變電站無人機(jī)巡檢系統(tǒng)規(guī)范第2部分:檢測規(guī)范
- 人教版九上化學(xué)第二單元課題2氧氣課件
- 三年級上冊乘法豎式計(jì)算200道及答案
評論
0/150
提交評論