#include #include #include #include int main(int argc, char* argv[]) { printf("Content-type: text/html\n\n"); printf(""); printf(""); printf(""); printf("GET ENVIRONMENT VARIABLES PAGE"); printf(""); printf(""); printf(""); printf("

GET ENVIRONMENT VARIABLES

"); printf("

"); printf("QUERY_STRING

"); printf(getenv("QUERY_STRING")); printf("


"); printf("REMOTE_ADDR

"); printf(getenv("REMOTE_ADDR")); printf("


"); printf(""); printf(""); return 0; }