StarterNewPHPREADME

Password-Protect Any Page

A small, working PHP script: a small include that puts a password screen in front of any PHP page using password_hash, sessions with regeneration, a login attempt limit and a logout link, ideal for client previews. Includes a README with install steps and security notes, and was linted and smoke-tested on PHP 8.3.

Fresh in the library