#Simple Poll The very simple, zero javascript, lightweight Poll maker.
Edit Medoo.php for mysql, Install.sql will help with getting that going.
Config for nginx for short urls
location /p/ {
try_files $uri $uri/ /p/getpoll.php?q=$uri;
}
location /p/r/ {
try_files $uri $uri/ /p/getresults.php?q=$uri;
}
current version is uses a sqlite DB, you can find a copy of it at example.sqlite
Try not to throwup from the code, it was writting in 45-60 minutes
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/.