Obtenha o valor do LocalStorage no PHP

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