I stored a javascript value into a cookie, as shown below.
var headvalue = "blue";
localStorage.setItem('headvalue', headvalue );
It it possible to get this headvalue variable from the cookie and store it into a php variable $headvalue? if yes how?