diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-10 16:31:41 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-10 16:31:41 -0400 |
| commit | 79d8e480021dc94804084e684daa706409dc2149 (patch) | |
| tree | 5664dd1af66b0fd6e60c2a535c96122eeb1f6420 /ws2a | |
| parent | dd95bc4a049fc1157e1b33343de217761d71d7ab (diff) | |
| download | webpage-79d8e480021dc94804084e684daa706409dc2149.tar.gz webpage-79d8e480021dc94804084e684daa706409dc2149.tar.bz2 webpage-79d8e480021dc94804084e684daa706409dc2149.zip | |
Added content header to captcha hash generation
Diffstat (limited to 'ws2a')
| -rw-r--r-- | ws2a/gencaptcha.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ws2a/gencaptcha.c b/ws2a/gencaptcha.c index 8713a1a..001e87b 100644 --- a/ws2a/gencaptcha.c +++ b/ws2a/gencaptcha.c @@ -77,6 +77,7 @@ int main(){ sprintf(command,"convert \"../ws2a/captchas/%lu.png\" -virtual-pixel White -distort Arc %d \"../ws2a/captchas/%lu.png\"",rhash,arcdis,rhash); system(command); + printf("%s%c%c\n","Content-Type:text/html;charset=iso-8859-1",13,10); printf("%lu",rhash); /* FILE* imgfile; |
