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

13 lines
167 B
PHP
Raw Normal View History

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