Articles: 843 | Categories: 148   
   
   
Home Articles Contact Us
 
 
 
 
Read from a Cookie (0 Comments)
Admin: Posted Date: March 3, 2010

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



?>
    

 
 
Add a Comment:
 
(You must be signed in to comment on an article. Not a member? Click here to register)
   
Title:

Comments: