#include "cgic.h" int cgiMain() { cgiWriteEnvironment("/CHANGE/THIS/PATH/capcgi.dat"); cgiHeaderContentType("text/html"); fprintf(cgiOut, "Captured\n"); fprintf(cgiOut, "

Captured

\n"); fprintf(cgiOut, "Your form submission was captured for use in\n"); fprintf(cgiOut, "debugging CGI code.\n"); return 0; }