A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 9: MySQL, Sessions and Cookies

Taking proper security and authentication precautions is essential if you are to prevent malicious users from trying to compromise your server. The plug-ins in this chapter provide a range of user management, authentication and security measures to keep your server, data and users safe, while allowing authenticated users maximum use of your website.

The plug-ins in this chapter:
  1. Add User to DB
  2. Get User from DB
  3. Verify User in DB
  4. Sanitize String & MySQL Santize String
  5. Create Session
  6. Open Session
  7. Close Session
  8. Secure Session
  9. Manage Cookie
  10. Block User by Cookie