Lab 5

arrow pointing down

Lab report

Goals of this exercise

  • Make a functional PHP form
  • Use a local AMP stack
  • Make use of SQL/Databases
  • Use the phpMyAdmin GUI
  • Make secure code and prevent XSS, SQL-injection, ...

Description

In this Lab I learned how to make PHP forms and test them with a local AMP server stack. This features phpMyadmin, MariaDB, SQL and PHP. Additionally, we were required to make our code secure to prevent hackers from executing XSS attacks and SQL-injection.

Related links

Reflection

What went well?

  • Implementing the base of the PHP code
  • Configuring additional fields
  • Adding CSS to the form

What was difficult?

  • Implementing checkboxes
  • Creating a database on phpMyAdmin
  • Debugging errors