PHP Classes

File: examples/blog/js/jquery-validate/demo/milk/emails.phps

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/blog/js/jquery-validate/demo/milk/emails.phps   Download  
File: examples/blog/js/jquery-validate/demo/milk/emails.phps
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
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['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; ?>