Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-Nov-2024 | - | ||||
.phan/ | H | 30-Jan-2021 | - | |||
entry/ | H | 01-Apr-2021 | - | |||
fetch/ | H | 01-Apr-2021 | - | |||
images/ | H | 11-Dec-2019 | - | |||
include/ | H | 05-Aug-2022 | - | |||
mail/ | H | 11-Dec-2019 | - | |||
manage/ | H | 01-Apr-2021 | - | |||
network/status/ | H | 11-Dec-2019 | - | |||
scripts/ | H | 29-Jun-2020 | - | |||
vendor/michelf/php-markdown-extra/ | H | 11-Dec-2019 | - | |||
.gitignore | H A D | 11-Dec-2019 | 61 | 6 | 5 | |
.gitmodules | H A D | 29-Mar-2021 | 77 | 4 | 3 | |
README.md | H A D | 01-Apr-2021 | 679 | 23 | 17 | |
event.sql | H A D | 11-Dec-2019 | 685 | 27 | 24 | |
favicon.ico | H A D | 11-Dec-2019 | 822 | |||
fbsd_upgrade.txt | H A D | 11-Dec-2019 | 1.6 KiB | 56 | 33 | |
forgot.php | H A D | 02-Apr-2021 | 4.3 KiB | 119 | 107 | |
github-webhook.php | H A D | 02-Apr-2021 | 12.2 KiB | 395 | 333 | |
index.php | H A D | 11-Dec-2019 | 43 | 3 | 2 | |
login.php | H A D | 11-Dec-2019 | 446 | 21 | 15 | |
note.sql | H A D | 01-Apr-2021 | 1.5 KiB | 43 | 25 | |
robots.txt | H A D | 11-Dec-2019 | 26 | 3 | 2 | |
users.sql | H A D | 01-Apr-2021 | 2.7 KiB | 70 | 41 |
README.md
1PHP user management system 2========================== 3 4Local setup: 5 6```shell 7# TODO: This is supposed to be submodule, but not actually registered as one. 8git clone git@github.com:php/web-shared.git shared 9 10# Create database and users: 11CREATE DATABASE phpmasterdb; 12CREATE USER 'nobody'@'localhost'; 13GRANT ALL PRIVILEGES ON phpmasterdb.* TO 'nobody'@'localhost'; 14 15# Create tables 16mysql -unobody phpmasterdb < users.sql 17 18# Create user test:test 19INSERT INTO users (username, svnpasswd, cvsaccess) VALUES ('test', 'd45a6c7dfc5b0dbb3567e28900d47f50', 1); 20 21# Run server (must have mysql ext) 22php -S localhost:8000 -d include_path="include/" -derror_reporting="E_ALL&~E_DEPRECATED" 23```