I wrote my first cgi script today.. it actually sounds pretty juvenile now that i say it out loud.
here it is… ( i really need to read the geshi docs so i can format this properly!)
#include
int main(){
std::cout <<”Content-Type: text/html<html>\n\n “;
std::cout << “text.”;
std::cout << “</html>”;
return 0;
}
Anyway, it compiled pretty easily as a cgi script; [...]