I'm running a web server. I'm using CGI, specifically C: I compile .c files into .out files, and then rename them to .cgi. I'm having quite some trouble reading GET and POST data: after dumping argv I noticed that GET data appears on either argv[25] or argv[26], quite randomly - I didn't check POST data.
So the question is, how can a C program read GET or POST data through CGI?
Asked
Active
Viewed 201 times
0
Giulio Muscarello
- 1,312
- 2
- 12
- 33