Lab 7 - Project 2 Status

Sydney Mayfield
3/9/2021

1. Users can access the application with the url attached to the following image    
	
		Proj 2 Login
	
2. This code user input sanitation and validation. This will take the form data on post and
convert special characters to prevent cross site scripting. It will also tell the user if the
form was missing data. The $sql line is the database query that is run to validate that the 
information the user typed does exist and matches a user in the table. If the query returns
a value, the session will start with the user's entered data, otherwise it will fail. 
This code is written in PHP / PSQL and contains roughly 400 lines of code.
	Login code snippet
	
3. One interesting feature of this application will be that the user can edit the color 
	that their username is displayed as in the chatroom. This has yet to be implemented, however I plan 
	on accomplishing this by setting the users color in the session creation on login. Users will have
	a default color and be able to update it on the Profile page.
	
4. The project is about 60% complete. The rest of the work consists of just the chatroom messages.
	The live chatroom is not something I have done before, so this portion is coming as more of a challenge.
	One interesting thing I have learned since starting this project is how a web client communicates with
	the database.