PageRenderTime 45ms CodeModel.GetById 41ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/lib/jquery-validate/demo/form.php

#
PHP | 10 lines | 9 code | 0 blank | 1 comment | 4 complexity | c37704e6d34221253074ce7b1050235b MD5 | raw file
 1<?php
 2// wait a second to simulate a some latency
 3usleep(500000);
 4$user = $_REQUEST['user'];
 5$pw = $_REQUEST['password'];
 6if($user && $pw && $pw == "foobar")
 7	echo "Hi $user, welcome back.";
 8else
 9	echo "Your password is wrong (must be foobar).";
10?>