O'Reilly logo

Learning PHP, MySQL, and JavaScript 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: Questions

Question 13-1

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

Question 13-2

Which PHP function stores a cookie on a web browser?

Question 13-3

How can you destroy a cookie?

Question 13-4

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

Question 13-5

Why is the md5 function a powerful security measure?

Question 13-6

What is meant by “salting” a string?

Question 13-7

What is a PHP session?

Question 13-8

How do you initiate a PHP session?

Question 13-9

What is session hijacking?

Question 13-10

What is session fixation?

See the section Chapter 13 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