Useless CGI Scripts
The CGI Scripts
Convert the Output from HTML Forms to a C++ Map.
What I've tried to do here is to write a generic C++
interface to convert the data sent back by a web browser into
a C++ map.
cgi_post.h -- This is a small wrapper
around std::map<string,string> to parse standard input.
survey.cc -- This is a stand alone
program that demonstrates how to incorporate cgi_post.h
in your own projects. It is intended as the cgi script that
survey.html -- This is the web
page that drives survey.cc.
Show exactly what the user sent without conversion.
- mirror.cc -- This is a stand alone program
that sends back to the browser exactly what your script received from it.