7.10 LABORATORY - NETWORKING
Purpose: To explore the use of web based interactions.
Objectives: To be able to query and update a database over a network.
7.10.1 Prelab
7.10.2 Laboratory
2. Move the program to the main cgi-bin directory for the computer (possibly /var/www/cgi-bin). If not surewhere the directory is located try the command 'locate cgi-bin'.
3. Enter the HTML program below that uses a CGI form. Put the file in the main html directory (probably /var/www/html).
4. Use a browser to open the HTML page just created with 'http://127.0.0.1/test.html'. Fill out the form and observe the results.
5. Write a CGI program that will allow a user to request information from the previously created database.