COMP 206 Lecture Notes - Lecture 32: C Standard Library, Command History, A.Out

10 views1 pages

Document Summary

Cgi technicals: code an image filter by connecting to c library, implement a command history function, implement a gci filtering stdin of the program is connected to the network (specialized version of a pipe/redirection) Transmits information from the page including data from forms. Program runs based on input and produces output that is returned to the network/server, and this must generate the next page environment variables pass additional information. Must reside in a web visible directory. Web servers require that it ends in . cgi. Use cgi. fieldstorage class to parse query (decoding, handles get and post) Generate http + html output (http is the way to returning data, Original html file displayed in browser, leads to first call of cgi script. Script outputs html for display that includes a form field linking to a cgi script. This page is displayed in the browser, user reacts.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents