PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Protected PHPInfo   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Protected PHPInfo
Show PHPInfo function output on a protected page
Author: By
Last change:
Date: 10 days ago
Size: 517 bytes
 

Contents

Class file image Download

ProtectedPHPInfo

PHP Info with Password Protection

Features

  1. User management through JSON File
  2. Password Hashed for each user
  3. Secure Login Page

Default User

  1. Username: admin
  2. Password: admin

How to add a new user


{
  "users": [
    ...
    {
      "id": 2,
      "username": "admin",
      "password": password_hash("admin")
    }
  ]
}

Screenshot

image

License

MIT