-
Notifications
You must be signed in to change notification settings - Fork 0
/
testeCookiePronto.php
36 lines (34 loc) · 1.25 KB
/
testeCookiePronto.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<DOCTYPE! hmtl>
<html lang="PT-BR">
<head>
<meta charset="UTF-8">
<link href="default.css" rel="stylesheet" type="text/css" media="all">
<link href='http://fonts.googleapis.com/css?family=Abel' rel='stylesheet' type='text/css'>
<title>
NutriMapa
</title>
</head>
<body>
<header>
<a href="mapas.html"><img style="margin-top:20px;margin-left:30px" src="icones/claros/Logo.png"></a>
<a href="sobre.html"><img align="right" style="margin-top:40px;margin-right:50px" src="icones/claros/Sobre.png"></a>
<a href="favoritos.html"><img align="right" style="margin-top:37px;margin-right:40px" src="icones/claros/Favoritos.png"></a>
<a href="locais.html"><img align="right" style="margin-top:34px;margin-right:40px" src="icones/claros/Locais.png"></a>
<a href="mapas.html"><img align="right" style="margin-top:38px;margin-right:40px" src="icones/claros/Mapa.png"></a>
<a href="receitas.html"><img align="right" style="margin-top:42px;margin-right:40px" src="icones/claros/Receitas.png"></a>
</header>
<div>
<p style = "margin-top: 300px;">
<?php
if(!isset($_COOKIE['cookieNome'])) {
echo "Cookie nao criado";
} else {
echo "Cookie criado com sucesso";
echo nl2br("\n");
echo $_COOKIE['cookieNome'];
}
?>
</p>
</div>
</body>
</html>