test cgi added by andyjpb on Tue Sep 11 19:20:11 2012
#include <stdio.h> #include <time.h> int main(void) { struct tm *t; time_t T; time(&T); t = localtime(&T); printf("<html><head><title>" "Test CGI Script" "</title></head><body>" "<p>Hello! The time is %s, " "and your IP address is %s.</p>" "</body></html>", asctime(t), getenv("REMOTE_ADDR")); }