[PHP] $_COOKIE

Sintassi

$_COOKIE["indice"]

Esempi

setcookie("gestiolex", "WOW", time()+3600);
if (isset($_COOKIE["gestiolex"])) {
  echo $_COOKIE["gestiolex"]; // WOW
}

Contenuti correlati

  • CSS
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • SQL
  • WORDPRESS

Fonti esterne

php, variabili php

Related Articles

0 Comment