From 559d12f01173a573c69393a950cc3f419960ecef Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Thu, 15 Aug 2019 19:54:11 +0000 Subject: [PATCH] Explain this project a bit in README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d3cf9cb --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Post + +Some code to formalize parsing POST data and generating HTML forms. +This is made as an attempt to de-duplicate code around generating forms with pre-existing data filled in. + +There is no templating included, the final step for HTML generation must be done by the parent application. +An example parent application is given in `test.php`. + +Due to a lack of useful documentation, `test.php` is also the reference implementation. + +Testing is done by clicking around in `test.php`. + +# Dependencies + +- session_start() needs to be called from the parent application +- openssl is required for CRSF token generation +- class autoloading needs to be done from parent application