/lib/jquery-validate/demo/captcha/newsession.php
# · PHP · 12 lines · 5 code · 4 blank · 3 comment · 0 complexity · 0000ba60ecf39509092327d1966a4668 MD5 · raw file
- <?php
-
- // Include the random string file
- require 'rand.php';
-
- // Begin a new session
- session_start();
-
- // Set the session contents
- $_SESSION['captcha_id'] = $str;
-
- ?>