Throw out the term "cookie" and you'll get lots of different thoughts from different people. Some web developers love to use them, making their sites almost abuse them to store anything and everything. There are those, however, that have issues with cookies, and are frustrated by their use. Well, hopefully, for those people out there, this new tutorial from phpNoise.com will help clear things up.
In Using Cookies with PHP, they start from the very beginning, telling you what cookies are and how they work. They move on into setting them in PHP, as well as grabbing the cookie value back in after it's set. And, of course, if you no longer need the cookie, then a simple setcookie() call can rid you of it forever.
While this article is a good starting place, I wish they had used the $_COOKIE superglobal to create the cookie instead of a setcookie(), but you loose a lot of the options that way (path, security, time to live, etc). At the very least, using it to view/get the value in the script would be nice too...




