silverstripe-userforms/thirdparty/jquery-validate/demo/captcha/newsession.php
2013-03-18 19:06:47 -04:00

12 lines
166 B
PHP

<?php
// Include the random string file
require 'rand.php';
// Begin a new session
session_start();
// Set the session contents
$_SESSION['captcha_id'] = $str;
?>