Transcript CGI Script

•
•
•
•
•
•
•
•
•
Week Fourteen Agenda
Announcements
Link of the week
Review week thirteen lab assignment
Upcoming deadlines
Are there any lab assignments that need to be
graded?
Final Exam Material
Review the CGI script tag information.
Review multiple choice questions on final exam
The final exam is 2.5 hours.
I recommend that students answer all
questions on the exam.
Student Presentations July 27.
Link of the week
• Device Drivers
http://update-your-drivers.com/indexy.html?OVRAW=Hardware%20Drivers&OVKEY=hardware%20driver&OVMTC=stand
ard&OVADID=3879639513&OVKWID=37889780013
• What is a device driver?
• Why is it important to keep drivers up-to-date?
Review week thirteen lab assignment
The Apache HTTP server must be instructed to locate the CGI scripts.
Two more pieces of information are needed.
1) A program in that directory to be used as a CGI script.
2) A link in an HTML page to your CGI scrip
Need to provide a URL that points to the CGI script.
http://cs.franklin.edu/~dandrear/itec400/CGI/sysInfo.cgi
The CGI script itself simply produces output to stdout. The HTTP server
captures that output and sends it to the Web browser. The format of the
output must be in a form that the Web browser can understand (HTML).
The CGI script creates the HTML page every time it is run.
The data provided to the HTML page can change with each execution
of the script.
Next Lab Assignment
CGI Script
Use declaration Format: use CGI <List of methods>
start_html Displays the name of the script top left corner of
browser
start_form returns a <form>tag with optional method,
action, and form encoding that you specify
Submit button sends all of the form information to the CGI
program specified by the ACTION attribute. Without the
button the form will be useless since it will never reach
the CGI script.
Upcoming deadlines
• Public Domain/Open Source Paper, 13-1
is due August 3
• Programming Assignment 3, 14-1 is due
August 8
• Final Exam, 15-1 will be administered
August 3 – 8, 2009
Week Fourteen Conclusion
Student names will be posted on the
Announcement page as final exams are
received from the Student Learning
Center.
Final grades must be submitted prior to the
close of business August 13 (noon).
• Questions
• Concerns
• Complaints