summaryrefslogtreecommitdiff
path: root/bug/bug/jquery-validation-1.8.1/demo/form.phps
diff options
context:
space:
mode:
Diffstat (limited to 'bug/bug/jquery-validation-1.8.1/demo/form.phps')
-rw-r--r--bug/bug/jquery-validation-1.8.1/demo/form.phps10
1 files changed, 10 insertions, 0 deletions
diff --git a/bug/bug/jquery-validation-1.8.1/demo/form.phps b/bug/bug/jquery-validation-1.8.1/demo/form.phps
new file mode 100644
index 0000000..b25c6ef
--- /dev/null
+++ b/bug/bug/jquery-validation-1.8.1/demo/form.phps
@@ -0,0 +1,10 @@
+<?php
+// wait a second to simulate a some latency
+usleep(500000);
+$user = $_REQUEST['user'];
+$pw = $_REQUEST['password'];
+if($user && $pw && $pw == "foobar")
+ echo "Hi $user, welcome back.";
+else
+ echo "Your password is wrong (must be foobar).";
+?> \ No newline at end of file