In PHP, cookies are set by using the * code example Example: retrieving a cookie in php $cookiename = $_COOKIE['COOKIE ID']