Create a directory called registration

Assignment Help Programming Languages
Reference no: EM13847929

Design

All new pages created for this assignment must conform to the design criterion you established for Assignment One.

All the pages you created in Assignment One should also be present in Assignment Two not just the new pages or modified pages.

Required Tasks and Elements

Assignment 1 Concepts

Marks will be deducted for failure to adhere to the concepts already marked in Assignment One. E.g.,

• Pay attention to your PHP coding style, e.g., your code should:

o Be simple and elegant,

o Be documented, e.g., comments at top of each document and on major sections,

o Use appropriate variable/types names,

o Use an appropriate layout, e.g., consistent indentation and use of white space.

o Appropriately structured, modular, reusable etc.

• Pay attention to the coding style of any new, modified or "PHP generated" XHTML or CSS files (as detailed in Assignment One).

• All new pages created for this assignment, and that includes dynamic pages created by PHP scripts must be in the same design style as all the pages in Assignment One

• This assignment must work on a Debian GNU/Linux machine running Firefox or a Firefox clone.

• Your PHP scripts must work using the supplied version of PHP-the supplied version of PHP does not have any extra modules compiled in-it is the vanilla PHP with the calendar module only.

• All URLs must work and be relative.

• Use CSS not XHTML attributes for presentation and style.

• All pages produced should be valid XHTML.

Conference Registration Page

Modify your Assignment One to add a new section: a registration section that allows a person to register for the conference.

• Create a directory called registration. All files for registration should be placed in this directory.

• Create a static XHTML page for conference registration and place the page in the registration directory.

• Add appropriate links to this page on your site.

• The registration page is a form that asks the participant for his or her registration details. Information required for conference

registration will be:

o Full Name

o Contact Email Address

o Name of the Person's Institution

o Credit Card type

o Credit Card Number

o Expiry Date of Credit Card

• Use the appropriate XHTML INPUT types. The TEXT input type is not the most appropriate type in all cases.

• The POST method should be used to send the data to the script that will process the data.

• Input error checking must be done by the script. (But do not worry about validating the Credit Card number- to do that properly you would have to calculate the checksum using the Luhn Algorithm)

• One script will be written that will take the information from the page and append it to a CSV (Comma Separated Values - see the note at the end) text file. One registered participant per line. The text file and the script should reside in the registration directory with the Forms page.

• The payment data file should be password protected from download. The username/password pair that should be used to protect the file should be `payments/1234'. For this assignment place the password file in the registration directory. This file should also be protected from accidental or malicious download by anyone by the appropriate configuration directives.

• If the registration information is accepted a polite message should be returned to the client telling them they have successfully registered.

• If the registration is not accepted an informative error message must be supplied explaining why it has not been accepted.
Paper abstract submission and listing page.

A page to list all the papers to be presented or submit a title and abstract of a paper to be presented.

• Create a directory called papers. All files for this section are to be placed in this directory.

• Create one PHP script to dynamically display papers or accept papers.

• Add appropriate links to this script on your site.

• Everything following is to be dynamically created by one PHP script.

Script details

• Without input the script should display a default page that offers two choices:

o A button or link to list all the titles and authors of all the currently submitted papers and

o a form for paper title and abstract submission.

• Submission Option on the default page:

o The title and abstract submission form on the default submission page should have three fields

A field to enter the names of all of the authors.

A field to enter the name of the principal author. This is the person who will be presenting the paper at the conference. The principal author's name should be one of the names in the first field.

Field to enter the contact email address of the principal author.

Field to enter the title of the paper.

A text-area to enter the abstract of the paper.

The POST method should be used to send the data to the script.

o The script will accept the form information and write the abstract of the paper to a text file. One file - one abstract. The name of the file must be unique (See Notes at end). The remaining information will be appended to a CVS text file. Each line of the file will contain the principal author, contact email-address, the authors, the title and the name of the file containing the abstract.

o Only people who have been registered for the conference should be allowed to present a paper. If the principal author has not registered for the conference the script should not accept the submission, return a polite message and a link to the registration page.

Use the email address of the principal author to check if the principal author exists in the registration file.

o Input error checking must be done by the PHP script.

• List Option on the default submission page:

o When this option is selected from the default page the script should list the authors and titles of all the accepted papers.

o Each listed paper should have a link to the abstract of that paper.

o If the abstract link is selected then the script will display ALL the information about that one paper. That is - the principal author, the

authors, the title and the abstract.

o The GET method should be used to tell the script which paper to display.

Documentation

• Discuss the purpose of the PHP procedures that you have written.

• Include links in your site-map documentation to all (non-XHTML) source code files, e.g., PHP, CSS.

Note:

Error Checking

• Your scripts should check all input for validity.

• List your checks in the site-map documentation.

Reference no: EM13847929

Questions Cloud

What characteristic of cell membranes explain : What characteristic of cell membranes may explain why fat-soluble substances like chloroform and ether rapidly affect cells?
Quantitative research for assignment : Quantitative Research For your next assignment your boss has assigned you to the research department of A.P. Investments. The head of the research department has given you the following tasks.
Effective ehr in your chosen article : Describe five success factors in implementing an effective HER in your chosen article - For each of the five success factors you identified, explain how success was achieved.
Advantages of data pump : Kuhn (2013) suggests that one of the advantages of data pump is that it can be used to populate materialized views using prebuilt tables loaded using data pump. This can be useful for loading large data sets in data warehouse environments
Create a directory called registration : All the pages you created in Assignment One should also be present in Assignment Two not just the new pages or modified pages.
Wlan security project report for bce : A local IT company ZeTech needs your help with a WLAN security project report for BCE. BCE is a medium size sports company and has 8 offices all around the world with 400-450 employees and around 500 daily customers on average
What effect will have on the standard error of the mean : What is the probability that a random sample of 49 different one-hour shopping periods will yield a sample mean between 441 and 446 shoppers and what effect will this have on the standard error of the mean?
Start saving for retirement : Your job pays you only once a year for all the work you did over the previous 12 months. Today, December 31, you just received your salary of $52,000 and you plan to spend all of it. However, you want to start saving for retirement beginning next yea..
What is a troubleshooting model : What is a troubleshooting model? Describe how you would use a troubleshooting model to resolve a user's inability to connect to the Internet from a physically connected networked laptop in an office

Reviews

Write a Review

Programming Languages Questions & Answers

  Write constructor which needs two string parameters

Generate a class named Student which includes String data fields for firstName and lastName. Prepare a constructor which needs two String parameters to populate firstName and lastName fields.

  Program to track which user is logged onto which computer

Write a computer program that could be used to track, by lab, which user is logged onto which computer.

  Write program to compute volume flow rate

Write program to compute volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second.

  Write pseudocode-read in data file containing student name

Write a pseudocode to do the following Read in data file containing student names, ID number, and gender into an array.

  The formula for the area of a circle is pir2 where r is the

the formula for the area of a circle is pir2 where r is the radius of the circle. write a program to compute the area

  Find number values that are between given range

Suppose the values from aaa.txt have been loaded into array Bob: find out the number values in Bob that are between 0 and 4 (not inclusive).

  Arrays have been declared with the same data type

As you know when two arrays have been declared with the same data type, one array can be assigned to the other. The assignment statement would look like this

  Write program that inputs single integer in digital river

A digital river is sequence of number where number following is n+ sum of its digits for example 12345=12345+15=12360. Write a program that inputs single integer n (1

  Create pseudocode for program to accept insurance data

Create a pseudocode for a program to accept insurance policy holder data, including a policy number, customer last name, customer first name, age, premium due month, day, and year,

  Give the code for rectangular

Give the code for rectangular, triangular, hamming, blackman and hanning windowing for a LPF and use sine waves to show its working.

  You have been tasked with building a payroll program for a

you have been tasked with building a payroll program for a large organization with offices spread across the united

  How prospectors get through mine shaft only fifteen minutes

How can all four prospectors get through mine shaft in only 15 minutes? After you have solved this problem, describe how you got your foot in door.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd