no me funciona que hay de malo en el codigo.....
Código PHP:
<?php
$user = "WebMare";
$pass = "gml";
setcookie ("cookie[user]", $user, time () + 20);
setcookie ("cookie[pass]", $pass, time () + 20);
?>
<html>
<head>
<title>Test Cookies</title>
</head>
<h1>Mi pagina Web. </h1>
<?php
echo $cookie[user];
echo " - ";
echo $cookie[pass];
?>
</body>
</html>
????