Skip to content

Instantly share code, notes, and snippets.

@TiuTalk
Created February 20, 2015 02:30
Show Gist options
  • Save TiuTalk/552017ea3d7e2dab0e6f to your computer and use it in GitHub Desktop.
Save TiuTalk/552017ea3d7e2dab0e6f to your computer and use it in GitHub Desktop.
<?php
// Pega o valor do Cookie 'usuario' definido anteriormente:
$valor = $_COOKIE['usuario']; // Fulano
// Pega o valor do Cookie 'nome' definido anteriormente:
$valor = $_COOKIE['nome']; // Ciclano
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment