Show sourcecode
The following files exists in this folder. Click to view.
fragotavling.php
index.php
ovn_cookie.php
ovn_cookie1.php
ovn_cookie2.php
ovn_cookie4.php
ovn_cookie5.php
ovn_cookie_hemligt.php
ovn_cookie_login.php
ovn_form.php
ovn_form2.php
ovn_form3.php
ovn_form4.php
ovn_form6.php
ovn_form7.php
ovn_form8.php
ovn_formular.php
ovn_formular_svar.php
ovn_formular_svar2.php
ovn_formular_svar3.php
ovn_formular_svar4.php
ovn_formular_svar6.php
ovn_formular_svar7.php
ovn_funktioner.php
ovn_gr1.php
ovn_inklfiler.php
ovn_inklfiler2_1.php
ovn_inklfiler2_2.php
ovn_inklfiler2_3.php
ovn_inklfiler_slut.php
ovn_inklfiler_start.php
ovn_inklfiler_test.php
ovn_strangar.php
ovn_cookie2.php
19 lines UTF-8 Windows (CRLF)
<?php
session_start();
if (isset($_SESSION["tid"])) {
if (time() - $_SESSION["tid"] < 10) {
echo "Välkommen tillbaka!";
} else {
echo "Välkommen! Du besöker sidan igen efter en stund.";
$_SESSION["tid"] = time();
}
} else {
$_SESSION["tid"] = time();
echo "Välkommen! Du besöker sidan för första gången.";
}
?>