Mysql (MariaDB) with PDO: Difference between revisions

From wikiluntti
Line 11: Line 11:
== Log a user ==
== Log a user ==


SSL connection. MD5.
SSL connection. Php's [https://www.php.net/manual/en/function.hash.php hash function] includes multiple algorithms.  


https://makitweb.com/login-page-with-remember-me-using-pdo-and-php/
https://makitweb.com/login-page-with-remember-me-using-pdo-and-php/

Revision as of 08:22, 18 September 2021

Introduction

Some of my database stuff is shown.


Establishing connection to the server

Store the password into a secure place, thus outside the the www folder. Php can access that.

Log a user

SSL connection. Php's hash function includes multiple algorithms.

https://makitweb.com/login-page-with-remember-me-using-pdo-and-php/