[ Team LiB ] Previous Section Next Section

Summary

This hour looked at the two ways of passing information between requests. You can use these to create multiscreen applications and sophisticated environments that respond to user preferences.

You learned how to use the setcookie() function to set cookies on the user's browser. Developing this, you saw how a database could be used in conjunction with cookies to store information about a user between sessions. You learned about query strings and how to encode them, and you developed a function to automate their creation.

PHP is nothing if not versatile, and in the next hour you will examine some built-in functions for automating many of the tasks in this chapter.

    [ Team LiB ] Previous Section Next Section