Question: This lab walks you through using PHP to create simple applications. PHP is popular for many Web applications, so becoming comfortable with the syntax of
This lab walks you through using PHP to create simple applications. PHP is popular for many Web applications, so becoming comfortable with the syntax of PHP will help you diagnose and identify potential security issues. It is not envisioned you will become an expert in PHP from this course, but you will be able to create simple Web applications; and, in the near future of this course, analyze that code for security issues. Learning Outcomes: At the completion of the lab you should be able to: I don't need question #1 can you help me the rest of it? 1. Create and test PHP scripts that include Arrays 2. Create and test PHP scripts that include Functions 3. Create, and test PHP scripts to process HTML Forms 4. Compare and contrast session creating mechanisms in PHP 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. 8. Note all pages should have session timeout functionality. Feel free to add additional HTML and PHP elements to enhance your web application. Create screen captures showing the successful running of your application.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
