silverstripe-framework/thirdparty/jquery-validate/demo/captcha/newsession.php

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;
?>