Section 13.5. Chapter 13 Questions


13.5. Chapter 13 Questions


Question 13-1.

Where is the data for a cookie stored?


Question 13-2.

What function can be used to encode passwords for storage in the database so that users' plain-text passwords aren't exploited?


Question 13-3.

Create a session and store the value 1 in the session variable user_id.


Question 13-4.

Display the user_id session variable created in Question 13-3.

See the Appendix for the answers to these questions.



Learning PHP and MySQL
Learning PHP and MySQL
ISBN: 0596101104
EAN: 2147483647
Year: N/A
Pages: 135

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net