mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-07 18:21:23 +02:00
11 lines
249 B
PHP
11 lines
249 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).";
|
|
?>
|