Convert c to cgi

Zenthar

Distinguished
Dec 31, 2007
250
0
18,960
To my knowledge, a .cgi file is simply a .exe file with a different extension to indicate that it's used for web purposes. You simply have to compile it like any other program, but with a .cgi extension for the output.
 

Scott2009

Distinguished
Sep 20, 2009
15
0
18,560
You'd need to compile it to some kind of executable / binary first.

Then yeah, parameters, inputs, outputs.

The output to StdOut should be in HTML though.
StdErr I don't think gets output to the browser at the other end, but may be useful for logging on the server.

Make sure the code is 'tight'.
 

TRENDING THREADS