Homework Help

Please explain what Common Gateway Interface (CGI) is.

user profile pic

lro1979 | Valedictorian

Posted September 3, 2013 at 10:49 PM via web

dislike 1 like

Please explain what Common Gateway Interface (CGI) is.

2 Answers | Add Yours

user profile pic

Kay Morse | College Teacher | (Level 1) Senior Educator

Posted September 4, 2013 at 9:22 PM (Answer #1)

dislike 1 like

CGI is the part of the Web server that can communicate with other programs running on the server. (Shishir Gundavaram, "CGI Programming on the World Wide Web")

Common Gateway Interface (CGI) is a type of program that can be very simple or very complex, depending on the programmer's skill level and the website needs. CGI allows one program to access another program on the Web and to transmit (or "pass") information to the other program, which the other program processes or responds to. The second program then reverses the direction of information passing, or transmission, and sends the response to the original data back to the first program. CGI is at work in programs like feedback requests of registration information or image maps that allow you to access information for specific locations, like Wyoming or Alabama.

Sources:

user profile pic

eli468 | Student, Undergraduate | Valedictorian

Posted July 7, 2014 at 7:10 PM (Answer #2)

dislike 0 like

Common Gateway Interface," is a standard way for a Web server to pass a Web user's request to an application program and to receive data back to forward to the user." 

In a simpler basis, the CGI is what is used when you open up a Web page or fill out anything in a webpage (such as a password) and the CGI will send the information to an application to read the information you entered and then proceed to bring information back in a webpage (such as logging in or having a screen that says the login failed.

Sources:

Join to answer this question

Join a community of thousands of dedicated teachers and students.

Join eNotes