I need to do an age verification for 18 and older and for the life of me can’t get it to work. I don’t know if I’m having a blonde moment, or if anyone has a better code to use out there I am open for suggestions. My blonde head is going bald!!!
[php]<?php
session_start(");
if ($_REQUEST[“over18”] == 1) {
$_SESSION[“over18”] = 1;
header("Location: " . $_REQUEST[“redirect”]);
}
?>