Last change
on this file since 615 was
348,
checked in by neteler, 13 years ago
|
set correctly svn propset
|
-
Property svn:eol-style set to
native
-
Property svn:mime-type set to
text/x-csrc
|
File size:
325 bytes
|
Line | |
---|
1 | #include "cgic.h" |
---|
2 | |
---|
3 | int cgiMain() { |
---|
4 | cgiWriteEnvironment("/tmp/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.