From the previous tutorial we already have our files and functions we need for a login form. In this tutorial we will use the same code and we will add some more functions and files to set up a Cookie using PDO and filter the information entered by users.
If you didn’t watch the previous tutorial you can find it here:
• How to build a Login form using PHP (...
Source code: https://github.com/ruvictor/Set-Cooki...