Common Gateway Interface
Full Form of CGI
What is CGI?
The Common Gateway Interface (CGI) is a standard protocol that enables web servers to execute external programs, typically scripts, to generate dynamic content for web pages. When a user submits a form or requests data, the server passes the request to a CGI script, which processes it and returns the result as an HTML page. In India, CGI is widely taught in computer science and information technology courses as a foundational concept for server-side programming. It is commonly used in legacy web applications, though modern frameworks like PHP, Python, and Node.js have largely replaced raw CGI scripts. However, CGI remains relevant in academic curricula and is often tested in competitive exams like GATE, UGC NET, and state-level engineering entrance tests. Understanding CGI helps students grasp how web servers interact with backend logic, making it an essential topic for those pursuing careers in web development or system administration. Its simplicity and platform independence also make it a useful tool for small-scale projects and educational demonstrations across Indian universities.
CGI का फुल फॉर्म
कॉमन गेटवे इंटरफेस
Example
In the college lab, the professor explained that the login page uses a CGI script written in Perl to authenticate users against the database.