clam2020/public/js/lib/demo/captcha/newsession.php

12 lines
177 B
PHP
Raw Normal View History

2018-10-05 16:13:30 +00:00
<?php
// Include the random string file
require 'rand.php';
// Begin a new session
session_start();
// Set the session contents
$_SESSION['captcha_id'] = $str;
?>