Program: example_process_get_form_data.c
CS-160: Software Engineering
Instructor: Robert Bruce
Spring 2017

This program demonstrates how to process form data using the GET protocol. This program was designed to be used with the Apache web server.

The full source code for example_process_get_form_data.c is available at http://www.cs.sjsu.edu/~bruce/programs/spring_2017_cs_160_section_2/example_process_get_form_data/example_process_get_form_data.c (right mouse click then select "Save link as" to download).

A makefile to compile example_process_get_form_data.c is available at http://www.cs.sjsu.edu/~bruce/programs/spring_2017_cs_160_section_2/example_process_get_form_data/Makefile (right mouse click then select "Save link as" to download).

To compile example_process_get_form_data.c, type make within a shell command prompt in the same directory containining example_process_get_form_data.c and your Makefile.

The executable program will be called example_process_get_form_data.cgi.

If you are using the Apache web server, please copy example_process_get_form_data.cgi to your cgi-bin directory at: /usr/lib/cgi-bin

In your web browser, enter the following URL: http://localhost/cgi-bin/example_process_get_form_data.cgi