Files
Portfolio-Esteban/scripts/requireCaptcha.php
T

7 lines
142 B
PHP

<?php
if (!isset($_SESSION['captcha_valid']) || $_SESSION['captcha_valid'] !== true) {
header('Location: ../captcha.php');
exit;
}
?>