Interview Question On Cookies In PHP

A cookie is a piece of data that is stored in the client’s web browser and used to identify your computer as you use a computer network.



 

A cookie can be set using PHP’s setcookie() function.

How to read cookies in PHP

Getting Cookie in PHP we have to use the Global variable $_COOKIE[].

 

 



 

Tags: , ,