mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
10 lines
248 B
Plaintext
10 lines
248 B
Plaintext
|
<?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).";
|
||
|
?>
|