Mysql (MariaDB) with PDO
Some of my database stuff is shown.
Establishing connection to the server
Store the password into a secure place, thus above the the www directory. Php can access that.
Log a user
SSL connection. Hash and salt. Php password hashing functions and mainly