silverstripe-framework/thirdparty/jquery-validate/demo/captcha/newsession.php
2012-04-15 10:50:19 +12:00

13 lines
167 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;
?>