Cookies in PHP Cookies are text files stored on the client and they are kept for tracking purposes. PHP supports HTTP Cookies. There are 3 steps to identify the user who returns: Server-side script sends a set of cookies to the browser. For example name, age, ... The browser stores this information on the local machine for future use.