




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年仪表照明系统合作协议书
- 2024年中国石油高校毕业生招聘考试真题
- 2025年三次采油采出液絮凝剂项目合作计划书
- 人教版一年级下册语文期末复习计划
- 2025年废弃资源回收加工项目发展计划
- 混凝土冬季施工的安全措施
- 生物技术研发课题中期报告范文
- 2024-2025管理人员岗前安全培训考试试题(完美版)
- 2024-2025安全培训考试试题含答案解析
- 25年企业员工岗前安全培训考试试题带答案解析
- 2024年陕西高中学业水平合格考试化学试卷真题(含答案详解)
- 2025年重庆渝开发股份有限公司招聘笔试参考题库含答案解析
- RBA社会责任商业联盟准则(管理手册+程序+记录+培训)
- 深圳市失业人员停止领取失业保险待遇申请表空表
- 强电(电气照明)系统施工工艺流程(共18页)
- 国家开放大学《管理英语1》边学边练参考答案
- (完整版)装饰装修工程监理细则(详解)最新(精华版)
- 中国某银行法人人民币理财产品协议书
- 纪检监察日常工作系列表格模板
- 近年财务状况表
- 蒸汽管道维修方案
评论
0/150
提交评论