Hello guys, I am a designer mainly and so my php skills are pretty much next to null haha. But this assignment has me working with it and the professor’s “hands-on” examples are more confusing than helpful to me.
So the assignment is as follows
1. Implement a multi-step pizza session with login. One must first login before ordering pizza.
Please add pricing and corresponding display of prices to all the pizza order pages and the final pizza order in the customary checkout display (no charging of credit card yet). This means one must be able to add, remove, change the items in the purchase order (i.e. the cart) and there should be a checkout page with the order summary display (list of items, subtotals and totals) and a “checkout” button which will end the sesion instead of going to the payment phase.
For full marks, please implement user account registration, forgot password, and change password features.
The login page, entire login session, as well as the registration/forgot password page should be under HTTPS. After logout, normally we switch back to HTTP.
Out-of-nowhere access to login-protected pages must be detected and handled correctly.
Passwords must be saved in one-way encrypted form. Note: md5 encryption is known to be not secure enough. Recommended is the Blowfish encryption available from the php function $pass_code=crypt($pass, $salt); where $salt is something like ‘$2a$09$Your_Arbitrary_String$’. Or if you use MySQL database to store the password, the MySQL PASSWORD function is also a standard way to encrypt passwords.
I have the design and pages set up, I just need help understanding the session setup and that fun stuff. My time is…limited haha, I have until like 5 PM tomorrow to get this done. (procrastination has betrayed me!)
It doesn’t need to be perfect. I just really want to get this done >_>