# rsvp/1.3.0/jquery-validate/demo/milk/emails.php

RSVP and Event Management, version 1.3.0. 10 lines.

- Page: https://pluginprobe.com/plugins/rsvp/1.3.0/code/jquery-validate/demo/milk/emails.php
- Raw: https://pluginprobe.com/plugins/rsvp/1.3.0/raw/jquery-validate/demo/milk/emails.php
- Modified: 2011-05-27T15:54:00+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.3.0/code/jquery-validate/demo/milk/emails.php#L10-L20`.

```php
<?php
$request = trim(strtolower($_REQUEST['email']));
$emails = array('glen@marketo.com', 'george@bush.gov', 'me@god.com', 'aboutface@cooper.com', 'steam@valve.com', 'bill@gates.com');
$valid = 'true';
foreach($emails as $email) {
	if( strtolower($email) == $request )
		$valid = '"Thats already taken."';
}
echo $valid;
?>
```
