https://code-boxx.com/simple-php-login-without-database/
- Set your own users and passwords in
$users
of2-check.php
, also where to redirect on successful login. - Protect all your pages by including
3-protect.php
at the top. - Launch
1-login.php
in the web browser, that's all.
Copyright by Code Boxx