Inizializzazione
This commit is contained in:
10
jquery/jquery-validation-1.9.0/demo/marketo/emails.php
Normal file
10
jquery/jquery-validation-1.9.0/demo/marketo/emails.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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 = 'false';
|
||||
}
|
||||
echo $valid;
|
||||
?>
|
||||
Reference in New Issue
Block a user