CS2623: Server-Side Programming
SSP06: Files

Objective:

Points

Situation

This is quite an ambitious assignment so I am providing some help and modified specifications to make it more manageable.

The following files may be helpful. As stated below, you may use these or create your own.
---> ChineseZodiac_Chapter5Files <---
Caveat: These files are from the solution files I have available to me. I have not verified if they will validate. I am leaving that up to you.

Need a Visual Reference?
The following are videos (Flash Files) of past student sites. In most of the cases the entire web page is not included in the screen shot, just enough to let you see the functionality of each project assignment. I
Disclaimer: f you see something that is contradictory to our class assignments, please ask. Do not assume that since it is on the video that it is 100% correct.

* Note that the Switch version has some additional information about presidents and years. This is not required at this time. It will be added in Chapter 6.

Specifications

[Test the Script]
For the [Test the Script] code to be displayed within index.php, the links will need to have an URL token. An example would be
      <a href="index.php?page=switch">[ Test the Script ]</a>.
Then in the switch statement located in index.php (See Project 4-4 on p. 230) add another case statement similar to the following
case 'switch':
   include('includes/inc_birth_switch.php');
   break;

[View Source Code]
Following the book's directions the source code will be shown in ShowSourceCode.php which in not inside of index.php. Therefore ShowSourceCode must have the DTD, Meta tags, link to CSS, and other related items. Some students have replicated index.php so it "appears" that the page is being displayed inside of index.php. Others have formatted ShowSourceCode.php with formatting consistent with their sites. Whatever your choice, add some styling so it looks like it is part of your site. You are welcome to experiment and have it actually display inside of index.php but it is not required for this assignment.

Recurring Specifications:

Assignment Submission