Cookie in PHP

Cookies are a mechanism for storing data in the remote browser and thus tracking or identifying return users. It is a part of a HTTP header. So cookies must be create or call called before any output is sent to the browser PHP also support HTTP cookies.

Click here for Cookie in PHP