SlideShare une entreprise Scribd logo
1  sur  24
Télécharger pour lire hors ligne
Mr.Warawut Khangkhan
Facebook:
Facebook: http://www.facebook.com/AjWarawut
           Twitter: http://twitter.com/awarawut
                E-Mail: awarawut@hotmail.com
                            Mobile: 089-461-9591
                                     089-461-
Login
                                                            F   F
                                  F       F3      F
        login-student.php                 F             F           F
         F F
        loginfailed.php                       F                         F   F
        logout.php      F                             $_SESSION




Mr.Warawut Khangkhan   Chapter 17 Login                                         2
Mr.Warawut Khangkhan   Chapter 17 Login   3
F                  tbl_student
               F
          username                F        CHAR       F    10
          password            F            CHAR     F     10
          accesslevel                 F     VARCHAR          F   10




Mr.Warawut Khangkhan    Chapter 17 Login                              4
Mr.Warawut Khangkhan   Chapter 17 Login   5
F                F                      F
    New Document > PHP
    Save login.php




Mr.Warawut Khangkhan       Chapter 17 Login       6
F                F                      F




Mr.Warawut Khangkhan       Chapter 17 Login       7
F                F                      F
                                                  Textfield: username
                                                  Max Chars: 10




                                                  Textfield: password
                                                  Max Chars: 10
            Value: Login                          Type: Password


Mr.Warawut Khangkhan       Chapter 17 Login                             8
F Log In User
Username     Password




Mr.Warawut Khangkhan   Chapter 17 Login   9
Mr.Warawut Khangkhan   Chapter 17 Login   10
New Document > PHP
    Save loginfailed.php




  Link to login.php




Mr.Warawut Khangkhan   Chapter 17 Login   11
F                                                 F PHP
                       F     F F                  F           F
              F                                       F
                                     F        F           F       PHP F




Mr.Warawut Khangkhan       Chapter 17 Login                                 12
F              F
    New Document > PHP
    Save testprotect.php


                Welcome to My PHP Web Application




Mr.Warawut Khangkhan   Chapter 17 Login             13
Mr.Warawut Khangkhan   Chapter 17 Login   14
F Restrict Access to Page




Mr.Warawut Khangkhan   Chapter 17 Login            15
F Restrict Access to Page




Mr.Warawut Khangkhan   Chapter 17 Login            16
F Restrict Access to Page




Mr.Warawut Khangkhan   Chapter 17 Login            17
F Restrict Access to Page




Mr.Warawut Khangkhan   Chapter 17 Login            18
Mr.Warawut Khangkhan   Chapter 17 Login   19
Logout
                       F                      F SESSION   PHP



    New Document > PHP
    Save logout.php




Mr.Warawut Khangkhan       Chapter 17 Login                     20
Mr.Warawut Khangkhan   Chapter 17 Login   21
Mr.Warawut Khangkhan   Chapter 17 Login   22
Mr.Warawut Khangkhan   Chapter 17 Login   23
Work Shop
        F           F (Open) display-student.php
                (Save as) list-student.php
        F          Logout        F list-student.php
       F        Restrict Access to Page




Mr.Warawut Khangkhan   Chapter 17 Login               24

Contenu connexe

Plus de Warawut

Object-Oriented Programming 7
Object-Oriented Programming 7Object-Oriented Programming 7
Object-Oriented Programming 7
Warawut
 
Object-Oriented Programming 6
Object-Oriented Programming 6Object-Oriented Programming 6
Object-Oriented Programming 6
Warawut
 

Plus de Warawut (20)

Database design
Database designDatabase design
Database design
 
Business Computer Project 4
Business Computer Project 4Business Computer Project 4
Business Computer Project 4
 
Object-Oriented Programming 10
Object-Oriented Programming 10Object-Oriented Programming 10
Object-Oriented Programming 10
 
Object-Oriented Programming 9
Object-Oriented Programming 9Object-Oriented Programming 9
Object-Oriented Programming 9
 
Object-Oriented Programming 8
Object-Oriented Programming 8Object-Oriented Programming 8
Object-Oriented Programming 8
 
Object-Oriented Programming 7
Object-Oriented Programming 7Object-Oriented Programming 7
Object-Oriented Programming 7
 
Object-Oriented Programming 6
Object-Oriented Programming 6Object-Oriented Programming 6
Object-Oriented Programming 6
 
Management Information System 6
Management Information System 6Management Information System 6
Management Information System 6
 
Management Information System 5
Management Information System 5Management Information System 5
Management Information System 5
 
Management Information System 4
Management Information System 4Management Information System 4
Management Information System 4
 
Object-Oriented Programming 5
Object-Oriented Programming 5Object-Oriented Programming 5
Object-Oriented Programming 5
 
Business Computer Project 3
Business Computer Project 3Business Computer Project 3
Business Computer Project 3
 
Management Information System 3
Management Information System 3Management Information System 3
Management Information System 3
 
Business Computer Project 2
Business Computer Project 2Business Computer Project 2
Business Computer Project 2
 
Chapter 2 Strategy & Information System
Chapter 2 Strategy & Information SystemChapter 2 Strategy & Information System
Chapter 2 Strategy & Information System
 
Object-Oriented Programming 4
Object-Oriented Programming 4Object-Oriented Programming 4
Object-Oriented Programming 4
 
Business Computer Project 1
Business Computer Project 1Business Computer Project 1
Business Computer Project 1
 
Chapter 1 Organization & MIS
Chapter 1 Organization & MISChapter 1 Organization & MIS
Chapter 1 Organization & MIS
 
Object-Oriented Programming 3
Object-Oriented Programming 3Object-Oriented Programming 3
Object-Oriented Programming 3
 
Object-Oriented Programming 2
Object-Oriented Programming 2Object-Oriented Programming 2
Object-Oriented Programming 2
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Dernier (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 

Login

  • 1. Mr.Warawut Khangkhan Facebook: Facebook: http://www.facebook.com/AjWarawut Twitter: http://twitter.com/awarawut E-Mail: awarawut@hotmail.com Mobile: 089-461-9591 089-461-
  • 2. Login F F F F3 F login-student.php F F F F F loginfailed.php F F F logout.php F $_SESSION Mr.Warawut Khangkhan Chapter 17 Login 2
  • 3. Mr.Warawut Khangkhan Chapter 17 Login 3
  • 4. F tbl_student F username F CHAR F 10 password F CHAR F 10 accesslevel F VARCHAR F 10 Mr.Warawut Khangkhan Chapter 17 Login 4
  • 5. Mr.Warawut Khangkhan Chapter 17 Login 5
  • 6. F F F New Document > PHP Save login.php Mr.Warawut Khangkhan Chapter 17 Login 6
  • 7. F F F Mr.Warawut Khangkhan Chapter 17 Login 7
  • 8. F F F Textfield: username Max Chars: 10 Textfield: password Max Chars: 10 Value: Login Type: Password Mr.Warawut Khangkhan Chapter 17 Login 8
  • 9. F Log In User Username Password Mr.Warawut Khangkhan Chapter 17 Login 9
  • 10. Mr.Warawut Khangkhan Chapter 17 Login 10
  • 11. New Document > PHP Save loginfailed.php Link to login.php Mr.Warawut Khangkhan Chapter 17 Login 11
  • 12. F F PHP F F F F F F F F F F PHP F Mr.Warawut Khangkhan Chapter 17 Login 12
  • 13. F F New Document > PHP Save testprotect.php Welcome to My PHP Web Application Mr.Warawut Khangkhan Chapter 17 Login 13
  • 14. Mr.Warawut Khangkhan Chapter 17 Login 14
  • 15. F Restrict Access to Page Mr.Warawut Khangkhan Chapter 17 Login 15
  • 16. F Restrict Access to Page Mr.Warawut Khangkhan Chapter 17 Login 16
  • 17. F Restrict Access to Page Mr.Warawut Khangkhan Chapter 17 Login 17
  • 18. F Restrict Access to Page Mr.Warawut Khangkhan Chapter 17 Login 18
  • 19. Mr.Warawut Khangkhan Chapter 17 Login 19
  • 20. Logout F F SESSION PHP New Document > PHP Save logout.php Mr.Warawut Khangkhan Chapter 17 Login 20
  • 21. Mr.Warawut Khangkhan Chapter 17 Login 21
  • 22. Mr.Warawut Khangkhan Chapter 17 Login 22
  • 23. Mr.Warawut Khangkhan Chapter 17 Login 23
  • 24. Work Shop F F (Open) display-student.php (Save as) list-student.php F Logout F list-student.php F Restrict Access to Page Mr.Warawut Khangkhan Chapter 17 Login 24