Advanced Web / PHP Action Lab Recap

  1. Download the demo Shopping cart from http://ww2.coastal.edu/chadc/php.zip
  2. Verify your ww2 account is active. Go to: http://ww2.coastal.edu/username. You should see a page that states under construction.
  3. Connect to your ww2 account with Windows Explorer (or any other FTP program) to allow your pages/file to be published to the word. Go to the address ftp://username@ww2.coastal.edu in Windows Explorer. Use your CCU username and password to login.
  4. Create a folder "php" in your ww2 account. The folder name IS CaSeSeNsItIvE!
  5. Drag and drop your files from your computer into the php folder in your ww2 account. This FTPs your files to the server and publishes them for the world to see.
  6. View your files in your ww2 account open Internet Explorer / Firefox. Go to the address http://ww2.coastal.edu/username/php/form1.php
  7. At this point you can modify form1.php and form2.php on your computer with WordPad. After each update - upload the files to the ww2 server again and you can then refresh your browser to see the changes.
You can view the original files in working order here: form1.php and form2.php

Challenges

Challenge #1: Add another product to the shopping cart.
Challenge #2: Modify the form to require particular fields.