Se hai dubbi su come gestire un CGI, qui hai lo standard ufficiale del w3c: http://www.w3.org/CGI/
In realtà la logica è davvero semplice, un CGI non fa altro che leggere lo standard input e restituire uno standard output, punto. Il resto è gestito dal webserver (tutti i webservers supportano i CGI, è il primo standard lato server mai nato e risale agli anni 90).![]()