topical media & game development
lib-ch-example-sample-plot1-3.cgi / cgi
#!/bin/ch
include <cgi.h>
void WriteHTML() {
class CResponse Response;
Response.setContentType("text/html");
Response.begin();
printf("<html>\n");
printf("<head>\n");
printf("<title>\n");
printf("Web Plot\n");
printf("</title>\n");
printf("</head>\n");
printf("<body bgcolor=#FFFFFF>\n");
printf("<p>\n");
printf("<center>\n");
printf("<img src=\<lib-ch-example-sample-plot2-3.ch>);
printf("\">\n");
printf("</center>\n");
printf("<p>\n");
printf("
\n");
printf("</body>\n");
printf("</html>\n");
Response.end();
}
int main() {
setvbuf(stdout, NULL, _IONBF, 0);
WriteHTML();
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.