ICTx 11-12

  1. You have made a file (html) that contains a form. It looks good and it collects some information. For sure a name and an age.
  2. To enable the connection or interpreting of the data, you need to place your files on a webserver. Let’s make one on your desktop. Data >> Handout >> SpenceHandout >> xammp   Copy the whole folder over to your C:/temp (you may have to make the temp folder) Run the xammp setup file.
  3. Move your html and image files for your page into the correct folder within xammp(/htdocs?) You now have a working webserver that anyone in the room can go and see your files – try it! In a browser, type in the IP address of a friend! Figure it out!
  4. Now, go to w3schools.com and lookup php form handling.
  5. You need to fix the “action” and “post” of your html file.
  6. You need to create a new file called “process.php”. See if you can make it receive the information from the html page.
  7. Bonus** make the form ask for the user’s age and tell them what year they were born.