Lab 05 - Contact Form
Goals of the exercise
- Learn how webservers work and how the HTTP protocol communicates with them, as well as where and how PHP code is executed.
- Learn to set up a database; all contact form messages should be saved in it.
- Learn to configure a local AMP stack for development and testing purposes.
- Understanding the security risks associated with processing form data.
Go to the solution
Description
The goal of this entire lab is to set up a functioning contact form, where all data fields are persisted in the database. Naturally, this should all be done taking into account modern security guidelines.
Related links
Some of the websites I've consulted while developing:
Reflection
-
Woaw!
I got it working in the end, which was very satisfying.
-
Aauuw!
I still feel working with databases can be very confusing and complicated. Configuring a server is totally different compared to configuring a webpage.
-
Not sure?
Security! I really need to doublecheck everything, so I do not accidentally create some major vulnerability...