Slide 4.14: Conclusions
Slide 5.2: Fundamental file processing demonstrations (cont.)
Home

Fundamental File Processing Demonstrations


The following interface is the main interface for demonstrating the data input and listing. This interface provides the following major functions:
  Select an Option to Use the System.
 
Clear books.txt
Enter books
List books



    Password:                    

The following HTML script is for the top part of this interface:

~wenchen/public_html/cgi-bin/351/week5/FPDemo.html
<form method="post"
   action="http://people.cs.und.edu/~wenchen/cgi-bin/351/week5/FPDemo.pl">
 <table>
  <tr><th colspan="3">Select an Option to Use the System.</th></tr>
  <tr>
   <td>
    <input type="radio" name="select" value="clear"> Clear books.txt
    <input type="radio" name="select" value="enter" checked> Enter books
    <input type="radio" name="select" value="list"> List books
   </td>
   <td>
    <input type="submit" name="act" value="Submit">
    <input type="submit" name="act" value="Help">
   </td>
  </tr>
 </table>
</form>