Skip to content

Instantly share code, notes, and snippets.

View estudijoanpuig's full-sized avatar

estudijoanpuig estudijoanpuig

View GitHub Profile
@estudijoanpuig
estudijoanpuig / README.md
Created September 8, 2022 08:26 — forked from eric1234/README.md
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