O'Reilly logo

Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test Your Knowledge

  1. Why must a cookie be transferred at the start of a program?

  2. Which PHP function stores a cookie on a web browser?

  3. How can you destroy a cookie?

  4. Where are the username and password stored in a PHP program when using HTTP authentication?

  5. Why is the md5 function a powerful security measure?

  6. What is meant by “salting” a string?

  7. What is a PHP session?

  8. How do you initiate a PHP session?

  9. What is session hijacking?

  10. What is session fixation?

See Chapter 12 Answers in Appendix A for the answers to these questions.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required