These examples add user interaction. The user enters information into a form, and that information is sent to the server when the user clicks the submit button. The program running on the server reads that information, and responds accordingly.
These examples each have two pages. The first page includes an HTML form the user fills in, the second page contains the script that processes the form. HTML form tags are used in the first pages.
The following are our interactive server-side examples: