| |
How CGI Routine Works?
To understand the total functionality of the CGI program, we must first know how it works. Here the function of the web master comes at first. The web master in the beginning specifies a form tag that contains in the CGI routine. The function of the HTML tag is utmost important as it helps to retrieve data or information from the visitors. Here you should remember that each of the tag that is input have a variable name. As we have mentioned, the data that is retrieved from the visitors get placed under a variable name. The CGI routine is there to execute the order of the visitor when he presses the button of submit. And at the same time, the CGI routine takes the charge means it takes control of the entire functioning. Here the browser waits to complete the execution. As we have discussed in the beginning, the function of the CGI routine is most important, it receives data or information from the names of different variables. It also helps to retrieve data and does the rest to complete the entire process.
The above discussion about the CGI routine does not give entire information about it. We should know some other important things about it. Now you may ask, how shall I install CGI routine? You can install it with your own site, provided your host gives permission for this purpose. In many occasion your host will no tallow to install your own CGI routine; but provides pre-written for this purpose. Now if you think it is not enough than you can go for the service of remote hosting. If you want to install your own CGI routine, you need it to install in the special location meant for it; that is the cgi-bin directory. The best server for the operation of CGI routine is Apache server; however window NT and 2000 have little problem with it. |
|