PHP Classes

File: examples/blog/js/jquery-validate/demo/milk/users.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/blog/js/jquery-validate/demo/milk/users.php   Download  
File: examples/blog/js/jquery-validate/demo/milk/users.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: 268 bytes
 

Contents

Class file image Download
<?php
$request
= trim(strtolower($_REQUEST['username']));
//sleep(2);
usleep(150000);
$users = array('asdf', 'Peter', 'Peter2', 'George');
$valid = 'true';
foreach(
$users as $user) {
    if(
strtolower($user) == $request )
       
$valid = 'false';
}
echo
$valid;
?>