PHP Classes

File: examples/blog/js/jquery-validate/demo/marketo/emails.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/blog/js/jquery-validate/demo/marketo/emails.php   Download  
File: examples/blog/js/jquery-validate/demo/marketo/emails.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 316 bytes
 

Contents

Class file image Download
<?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;
?>