[83b728]: capture.c Maximize Restore History

Download this file

capture.c    13 lines (10 with data), 338 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#include "cgic.h"
int cgiMain() {
cgiWriteEnvironment("/CHANGE/THIS/PATH/capcgi.dat");
cgiHeaderContentType("text/html");
fprintf(cgiOut, "<title>Captured</title>\n");
fprintf(cgiOut, "<h1>Captured</h1>\n");
fprintf(cgiOut, "Your form submission was captured for use in\n");
fprintf(cgiOut, "debugging CGI code.\n");
return 0;
}