Lab Elements

Homepage

Lab6: Elemental Deatails

1. Post a screenshot of your application that is working.
The only part of my program that is working is the pop up window that tells users to input a username. Down below is the code to impliment that. After you submit, it will then take you top an error page, which I know is something that has to do after the snippet of code.


Working written code

2. Source code sample.
I am using a webpage that helps on how to create a web chat in my SRS document, that you can download from the homepage. I have only tweaked certain part of the code or renamed some stuff so far. In order for me to make it my own I have to first get past the login page, because after the user inputs their username and submits, I go to an empty page. I believe there could be some missing (simple) components thats reading as an error.


3. Interesting features...
(I dont think its interesting to other users) I alwasy thought that to hold information we would need a database, but from reading about what each section of the code we could use cookie-based session to store information with $_SESSION['name']


Additional...
My project is 40% complete only becuase there is an error that I have to find after the user enters their name. If i can find the error and fix it, my project will then be at 60% becuase I do have a chat box and everything needed to message other users. At 80% I was hoping for more functionality that the users can have. To reach 100% they page itself would look nice and not bland like it does now. The one thing I found that is very intersting is that htmlspecialchars() is a thing. It basically convert special characters into HTML entities. I have never used or heard of this function before, wish I did back when I took database.