Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP-Learn-It.com:
Cooking Cookies with PHP
Sep 10, 2007 @ 20:10:52

On PHP-Learn-It.com today, there's a new tutorial looking to get you, the budding PHP developer, into working with cookies in PHP.

A cookie is often used to store data which can be used to identify a user, for example, person's username. [...] In this tutorial, we will learn how to write, read and delete cookies in PHP.

They show how to create the cookie (with set_cookie) - both one that will timeout when the browser closes and one that stays after - how to read the value from them and how to remove them by setting the data in the past.

tagged: cookie setcookie create delete read tutorial beginner cookie setcookie create delete read tutorial beginner

Link:


Trending Topics: