Lab 05 - Contact form
Goals
This involves understanding how an environment with Apache, MySQL, and PHP operates, learning to integrate PHP code into an existing web project using HTML and CSS, working effectively with HTML forms and controls while ensuring proper handling of submitted data, and being aware of the security risks associated with processing form input.
Description
In this assignment, you will create a contact form that stores submitted messages in a database and allows the owner to view them via a “secret URL.” You will adapt provided PHP demo code and integrate it with an HTML contact page. The objectives are to understand how an Apache, MySQL, and PHP environment works, work with HTML forms and controls, integrate PHP code, and handle form data securely. You must create a database, implement the form, provide a “Thank You” page after submission, and style the messages page for the owner.
Related links
-
No links were used during this exercise
Reflection
-
What went well?
It was doable to convert the given example into the outcome
-
What could have gone better?
There were struggles to convert the database from local XAMPP to the online Plesk databank
-
What went bad?
Will be added when I get my results