PageRenderTime 44ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. <?php
  2. // Include the random string file
  3. require 'rand.php';
  4. // Begin a new session
  5. session_start();
  6. // Set the session contents
  7. $_SESSION['captcha_id'] = $str;
  8. ?>