Получите значение LocalStorage в PHP

  $myvar = "<script> localStorage.getItem('productinfo')['s3_url']</script>";
Rht