This sample code shows how easy it is to read
data from a user's cookie. More information about cookies can be found
on the site.
Read from a Cookie
This sample code shows how easy it is to read data from a user's cookie.
<?php
// this code reads in the data saved to
// a cookie named Beast, and saves the
// information to a variable called $strData
$strData = $_COOKIE["Beast"]
// done
?>
|