19 lines
440 B
C++
19 lines
440 B
C++
|
#include <string>
|
|||
|
#include <cgicc/Cgicc.h>
|
|||
|
#include <cgicc/HTTPHTMLHeader.h>
|
|||
|
|
|||
|
// ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
void handleSignupRequest(cgicc::Cgicc& cgi)
|
|||
|
{
|
|||
|
#if 0 // <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
std::string username = cgi.getEnvironment().get("username");
|
|||
|
std::string email = cgi.getEnvironment().get("email");
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD>ע<EFBFBD><D7A2><EFBFBD><EFBFBD>...
|
|||
|
// <20><><EFBFBD><EFBFBD>ע<EFBFBD><D7A2><EFBFBD>ɹ<EFBFBD>
|
|||
|
|
|||
|
cgi.addHeader("Content-Type", "text/html");
|
|||
|
|
|||
|
std::cout << "<html><body>Signup Successful!</body></html>";
|
|||
|
#endif
|
|||
|
}
|