# rsvp/1.2.0/jquery-validate/demo/captcha/process.php

RSVP and Event Management, version 1.2.0. 14 lines.

- Page: https://pluginprobe.com/plugins/rsvp/1.2.0/code/jquery-validate/demo/captcha/process.php
- Raw: https://pluginprobe.com/plugins/rsvp/1.2.0/raw/jquery-validate/demo/captcha/process.php
- Modified: 2010-08-24T15:08:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/rsvp/1.2.0/code/jquery-validate/demo/captcha/process.php#L10-L20`.

```php
<?php

// Begin the session
session_start();

// To avoid case conflicts, make the input uppercase and check against the session value
// If it's correct, echo '1' as a string
if(strtoupper($_GET['captcha']) == $_SESSION['captcha_id'])
	echo 'true';
// Else echo '0' as a string
else
	echo 'false';

?>
```
