1. Upload simpleform.html to the home directory in your Web site.
  2. Create a new script with this code:

    <?php

    print "Hi $yourname";

    ?>
  3. Save the script as formoutput.php in the PHPSCRIPTS folder on your computer.

Here's what the relevant line in this script does:

  • print "Hi $yourname";

    Displays the name the user enters on the form page.

    The variable $yourname is given the value from the textbox called yourname on the simpleform.php page.

  1. Upload formoutput.php into the phpscripts directory in your Web site.