link

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

Reflection