Cassell Robinson
- crobinson66@gwu.edu
- cassell13
- your gwupyterhub.seas.gwu.edu/~cassell13/example1.php
Write PHP code to complete the log in and log out example from the starter code using PHP session variables.
- clone your repository in the public_html folder on the gwupyterhub server
- create and populate the table in your own database on gwupyterhub using the script provided
- Check that the table was populated
- modify the
login/connectvars.phpfile with your mySQL credentials - run the following command to disable track changes to that file
git update-index --assume-unchanged connectvars.php
- modify the
login/login.phpfile to check the credentials and establish a connection. - modify the
login/logout.phpfile to end the session.