Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a web application using PHP that receives submission files for completed assignments. The application has the following requirements: At least four different papers (e.g.,

Develop a web application using PHP that receives submission files for completed assignments. The application has the following requirements:

  1. At least four different papers (e.g., 159339, 159741, 159302, 159334).
  2. Allowable files for uploading should consist of a single file in text form

(i.e. *.txt, *.php, *.cpp).

  1. The account numbers for students need to be checked against a list (the list must reside in a text file in the same subdirectory.
  2. Every time a student submits a file, it has to check against his/her password.
  3. Appropriate error checking should be part of the application.

For example, checking that the account exists and that the password is correct before accepting the submission.

  1. The saved file needs to be renamed to something meaningful.

Follow this syntax: Assignment#1_studentID_paperCode_semesterNumber_year.php

(e.g., a1_0999999_159339_semester2_2010.php).

  1. Students can make multiple submissions for the same assignment, for the same paper; however, the files will have to be saved with an extension indicating the sequence number. The latest file submitted will have to be renamed with an extension .php, .cpp, or .txt.

e.g., a1_0999999_159339_semester2_2010.000 -> first submission

a1_0999999_159339_semester2_2010.001 -> second submission

a1_0999999_159339_semester2_2010.002 -> 3rd submission

a1_0999999_159339_semester2_2010.php -> latest submission

  1. The web application should work with a local webserver, where it is going to be checked by the lecturer. You can use as many files as you want in order to complete.
  2. You can complete the assignment using PHP and other supporting languages that were covered in class. You should indicate this in your assignment documentation.
  3. It is a good idea to prototype the systems starting with the forms, and then proceeding with the rest of the code.

There should be a function that allows a student to list what he/she has submitted so far, including the date of submission

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

Students also viewed these Databases questions