Workshop

The workshop is designed to help you anticipate possible questions, review what you've learned, and begin learning how to put your knowledge into practice.

Quiz

1:What are the advantages of database files over plain text files for storing user authentication information?
2:Can you name some disadvantages of HTTP basic authentication?
3:What function is designed to allow you to set a cookie on a visitor's browser?

Answers

A1: Database files are much more scalable because they can be indexed. This means that Apache does not need to read the file sequentially until a match is found for a particular user, but rather can jump to the exact location.
A2: One disadvantage is that the information is transmitted in clear text over the network. This ...

Get Sams Teach Yourself PHP, MySQL® and Apache All in One now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.