PHP Tutorials - Herong's Tutorial Examples - Version 4.20, by Dr. Herong Yang
Sending and Receiving Cookies in PHP Scripts
This chapter provides tutorial examples and notes about cookie. Topics include understanding of the cookie concept; sending cookies with the setcookie() function; receiving cookies with the $_COOKIE array; enabling output buffering; creating persistent cookies; specifying cookie domain and path.
Table of Contents