PluginProbe
RSVP and Event Management / 1.2.0
RSVP and Event Management v1.2.0
trunk 0.5.0 0.6.0 0.7.0 0.8.0 0.9.0 0.9.5 1.0.0 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.5.0 1.6.0 1.6.1 1.6.2 1.6.5 1.7.0 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 All 136 releases
rsvp / jquery-validate / demo / captcha / process.php

process.php in RSVP and Event Management 1.2.0, at jquery-validate/demo/captcha/process.php

14 lines 302 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Begin the session
4 session_start();
5
6 // To avoid case conflicts, make the input uppercase and check against the session value
7 // If it's correct, echo '1' as a string
8 if(strtoupper($_GET['captcha']) == $_SESSION['captcha_id'])
9 echo 'true';
10 // Else echo '0' as a string
11 else
12 echo 'false';
13
14 ?>