PHP: Arrays, Functions and Form processing
If you want to view the exercise that is to help students learn the lab before actually performing the “Lab submission details:” which you can find on pages 23 – 24 if you rather skip to it.
This lab has been done before but fixing it now. However, I will not be able to submit for a grade, I will use for the next step in this project when we figure out what that is.
Here is notes that were attached to my grade by my professor:
1. Login functionality does not work.
2. There are already 4 products add (“Hard coded products” and add to cart functionality does not work
3. Product purchases do not work
4. No thank you page
5. User’ session is not expiring after 30 min.
Needed files to edit are attached along with the lab itself in PDF.
You may also find those full graded part of the lab below:
Lab submission details:
As part of the submission for this Lab, you will create your own Web application to store and use session variables in a simple e-Commerce store.
Specifically, you will create an e-Commerce application using PHP and HTML that allows a user to login to a website, select several products for purchase and then place an order for those items selected. The type of products and price you use for the store are up to you.
The following guidelines should be used in your design and development:
1. The Login form should consist of fields for username, email address and password.
2. After login, a welcome message should appear providing a simple order form with at least 10 products of your choice. Be sure to include an image of the product and price.
3. Users can shop your store for up to 30 minutes before the session will expire.
4. Once all products are selected, the user should be able to checkout and pay for their purchases.
5. The payment page should display the username, email address and the products and total price of the purchases.
6. A “Purchase” button should be available to indicate the product was purchases and should generate a “Thank you” message of your choice.
7. On the Thank you message page, an option for logging out and essentially unsetting the stored sessions variables should be available and implemented.
Feel free to add additional HTML and PHP elements to enhance your web application.

Order Management

Premium Service
- 100% Custom papers
- Any delivery date
- 100% Confidentiality
- 24/7 Customer support
- The finest writers & editors
- No hidden charges
- No resale promise
Format and Features
- Approx. 275 words / page
- All paper formats (APA, MLA, Harvard, Chicago/Turabian)
- Font: 12 point Arial/Times New Roman
- Double and single spacing
- FREE bibliography page
- FREE title page
0% Plagiarism
We take all due measures in order to avoid plagiarisms in papers. We have strict fines policy towards those writers who use plagiarisms and members of QAD make sure that papers are original.