Last change
on this file since 280 was
1,
checked in by djay, 15 years ago
|
Initial ZOO SVN Repository Import.
|
File size:
325 bytes
|
Rev | Line | |
---|
[1] | 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.