Authentication

The Authentication section of Chapter 4 mentioned that HTTP Basic authentication has a number of drawbacks, and that you can avoid those with PHP-based authentication. The following sections provide details.

Advantages of PHP Authentication

This section continues where we left off in the Authentication section of Chapter 4. We discussed there that HTTP Basic Authentication has a number of drawbacks, and that you can avoid those with PHP-based authentication. The PHPLib features sophisticated classes for handling user authentication and permission management.

The PHPLib authenticates sessions; thus it depends on the Session class. On those pages in which you need authentication, the following page_open() call should be made to instantiate ...

Get Web Application Development with PHP 4.0 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.