Files
Phraseanet/www/include/jslibs/jquery-validation/demo/form.phps
Romain Neutron 4c5b7eb658 V 3.5 RC 1
2011-12-05 00:23:28 +01:00

10 lines
248 B
PHP

<?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).";
?>