diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-09 14:08:56 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-09 14:08:56 -0400 |
| commit | 5f8b897a3ba80dc4bd82a13372ae8b8a279930f2 (patch) | |
| tree | 77c71d4475fe0c8e1420e03831af09d7bfe0b513 /ws2a/bugsdata.c | |
| parent | c0a653dd8de601012deafde63ba6ad114499fe5f (diff) | |
| download | webpage-5f8b897a3ba80dc4bd82a13372ae8b8a279930f2.tar.gz webpage-5f8b897a3ba80dc4bd82a13372ae8b8a279930f2.tar.bz2 webpage-5f8b897a3ba80dc4bd82a13372ae8b8a279930f2.zip | |
Migrateing to nicer looking stuff
Diffstat (limited to 'ws2a/bugsdata.c')
| -rw-r--r-- | ws2a/bugsdata.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ws2a/bugsdata.c b/ws2a/bugsdata.c new file mode 100644 index 0000000..33a7b67 --- /dev/null +++ b/ws2a/bugsdata.c @@ -0,0 +1,13 @@ +#include <stdio.h> +#include <string.h> +#include <stdlib.h> +#include <stdint.h> +#include "common.c" + +int main(){ + char* data = getenv("QUERY_STRING"); + char* hardip = getenv("REMOTE_ADDR"); + printf("%s%c%c\n", + "Content-Type:text/html;charset=iso-8859-1",13,10); + printf("Data:%s",data); +} |
