4 ms·
I developed a need recently to gather some answers to a few simple questions from people all around the internet. Maybe a few hundred at most. I don't want to
by rvense 4y ago
I developed a need recently to gather some answers to a few simple questions from people all around the internet. Maybe a few hundred at most.
I don't want to make a Google survey or a Doodle or any of that. It's not for me, not off the clock anyway.
I built a simple HTML form to start with. Just typed it out like it was 1997 again (and then added a little Javascript so it remembers that you've submitted the form to soft-block people from submitting more than once; and some CSS to make it look a little nicer and work on phones and such).
Then I thought I had to build a small backend with a database... I'd originally planned to do a simple CGI thing that stuck the form in SQLite or whatever, but then, when I was doing the frontend, I saw that the web server that I use to serve the file actually puts the entire query string in the access log on disk.
So that's it. That's the backend. I can just grep the log file when I want the answers.
- deleted 4y ago[deleted]