Skip to content

Instantly share code, notes, and snippets.

@eric1234
eric1234 / README.md
Last active May 2, 2024 08:26
Protect page with simple password

Purpose

Unauthorized access to a PHP page prompts the user for a password. Once the password is entered the original page will show.

Features

  • The access is recorded in the session so it only needs to be