Show sourcecode
The following files exists in this folder. Click to view.
cookie.php
extra.php
formulär.php
index (2).php
index.php
inklud1.php
inklude/
inklude2.php
inlogg.php
medeltal.php
ovn_1.php
ovn_2.php
ovn_4.php
resultat.php
resultat2.php
resultat3.php
session.php
sid1.php
sid2.php
sid3.php
sidslut.php
sidstart.php
textfeedback.php
textstreng.php
valkommen.php
cookie.php
9 lines UTF-8 Windows (CRLF)
<?php
if (isset($_COOKIE["besok"])) {
echo "Välkommen tillbaka";
} else {
echo "Hej för första gången";
setcookie("besok", "ja", time() + 10, "/");
}
?>