Question
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:
- At least four different papers (e.g., 159339, 159741, 159302, 159334).
- Allowable files for uploading should consist of a single file in text form
(i.e. *.txt, *.php, *.cpp).
- The account numbers for students need to be checked against a list (the list must reside in a text file in the same subdirectory.
- Every time a student submits a file, it has to check against his/her password.
- 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.
- 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).
- 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
- 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.
- You can complete the assignment using PHP and other supporting languages that were covered in class. You should indicate this in your assignment documentation.
- 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started