source:
tags/0.57/cgic205/capture.c
@
9
Last change on this file since 9 was 9, checked in by willem, 11 years ago | |
---|---|
File size: 338 bytes |
Line | |
---|---|
1 | #include "cgic.h" |
2 | |
3 | int cgiMain() { |
4 | cgiWriteEnvironment("/CHANGE/THIS/PATH/capcgi.dat"); |
5 | cgiHeaderContentType("text/html"); |
6 | fprintf(cgiOut, "<title>Captured</title>\n"); |
7 | fprintf(cgiOut, "<h1>Captured</h1>\n"); |
8 | fprintf(cgiOut, "Your form submission was captured for use in\n"); |
9 | fprintf(cgiOut, "debugging CGI code.\n"); |
10 | return 0; |
11 | } |
12 |
Note: See TracBrowser
for help on using the repository browser.