silverstripe-framework/thirdparty/jquery-validate/demo/captcha/newsession.php
2009-11-21 02:26:09 +00:00

12 lines
177 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;
?>