A web client would send a request via cgi and the webserver would process the script and return the results of the script. We needed a way to run perl or shell scripts. In the past we used cgi to create dynamic webpages. The Web server sends the result it got from the CGI software back to the Web surfer’s browser.The CGI software then sends the result it wants the Web surfer’s browser to see back to the Web server.If any static HTML pages need to be created, the CGI program accesses the Web server computer’s file system and reads, writes, and/or edits files.The CGI software takes the information from the database and manipulates it into the format that is desired.The database driver sends the information from the database to the CGI software.The results of the database action are then passed back to the database driver.The database driver acts as a middleman and performs the requested action on the database itself.The CGI software then executes the prepared database statement, which is passed to the database driver. If this is a database program, the CGI software prepares a database statement to either add, edit, or delete information from the database. For instance, it might check to see if an e-mail address is valid.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |