Common Gateway Interface(CGI) is one of the most popular way of creating dynamic websites. CGI is a server-side scripting language. It is an interface between The advantage of CGI is the applications can be written in any almost any language. A programmer familiar with C can create programs for CGI. It is common that Perl is usually used for CGI applications. Perl is simple and powerful language used for creating dynamic websites. It is not a strictly interpreted language.
In this post I am going to share my little experience with CGI programs using C in Linux platform( with root privileges). Not going too deeply into CGI or C, how it works?... etc. Just a demonstration
First of all you need a Apache server. Check is it available in your system and make sure that it is running. If it is available then just follow the steps below to start the server.