/lib/jquery-validate/demo/captcha/newsession.php
PHP | 12 lines | 5 code | 4 blank | 3 comment | 0 complexity | 0000ba60ecf39509092327d1966a4668 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
- <?php
-
- // Include the random string file
- require 'rand.php';
-
- // Begin a new session
- session_start();
-
- // Set the session contents
- $_SESSION['captcha_id'] = $str;
-
- ?>