CGI Scripts Basics
Uncategorized July 21st, 2009 by Shai Perednik
Having no CGI experience. I figured it was like PHP/Pearl/ASP, ect. Just write the code, upload and the server will run it.
Boy was I wrong. After lots of googling I found this post at devhood.com
It makes a very good point that I never realized, you have to save the code as yourscript.c and compile it with the comand:
gcc -o youroutputcgi.cgi yourscript.c
Now I’m off to take on greater challenges
Tags: XP
