emails.phps · 307 B · ext
.phps · seen 436× in SWHvia fallback
swh:1:cnt:d2219cc92f7f417e6d5e3941eccfa9372354bd03;origin=https://github.com/hechenqingyuan/gitwms;anchor=swh:1:rev:17acfbbf920f92ce2faf466f324ff4c98e7e96c1;path=/Git.Storage.Web/Theme/plugins/jquery-validation/demo/marketo/emails.phps
Show source
<?php
$request = trim(strtolower($_REQUEST['value']));
$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 = 'false';
}
echo $valid;
?>