PageRenderTime 63ms CodeModel.GetById 61ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/jquery-validate/demo/milk/users.phps

#
Unknown | 10 lines | 10 code | 0 blank | 0 comment | 0 complexity | 9e81b0a7c098199a047e5823480a0e9c MD5 | raw file
 1<?php
 2$request = trim(strtolower($_REQUEST['value']));
 3$users = array('asdf', 'Peter', 'Peter2', 'George');
 4$valid = 'true';
 5foreach($users as $user) {
 6	if( strtolower($user) == $request )
 7		$valid = 'false';
 8}
 9echo $valid;
10?>