O'Reilly logo

Web Developer’s Cookbook: More Than 300 Ready-Made PHP, JavaScript, and CSS Recipes 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

CHAPTER 9
image
MySQL, Sessions, and Cookies
This chapter covers a lot of different topics, ranging from using MySQL to working with PHP sessions, and from applying basic security measures to handling cookies. Although at first sight these topics may not seem too closely related, they actually are because they’re mostly to do with the processing, storage, and recall of data.
The three MySQL recipes provide a means of creating a database to hold various details about a user, the facility to add new users, and a recipe to verify a user against their username and password, while the PHP session recipes provide the ability to hold a user’s details across ...

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