Skip to content

dpaschal-lf/user_authentication_simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

user_authentication_simple

To do this exercise,

  1. create a fork of this repo
  2. add code as explained below
  3. submit the link to this repo to the assignments email address
  4. give a subject of this repo's name and the version number


Complete the loginform.php
  • add a text input field for 'username'
  • add a password input field for 'password'
  • send the form results to login.php
  • send the data via post


Complete the login.php file
  • follow the comments and create code to complete it.
  • -PHP functions will likely include:
    • mysqli_connect
    • sha1
    • mysqli_query
    • json_encode
    • strlen
    • empty
    • isset
    • session_start
    • session_destroy


Complete the logout.php file
  • follow the coments and create code to complete it

About

Simple user authentication with comments ready for code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages