a box.

[php]
$answer1 = $_POST[‘answer1’];
$answer2 = $_POST[‘answer2’];
$password = $_POST[‘password’];

if (($answer1 == 2) && ($answer2 == “D”) && ($password == “Goddess”)) {
[/php]
inside that box was a stunning amount of gold.

the guru shoveled it into his pockets. with this, he could do anything.

what should he do with it?

[php]
}
elseif (($answer1 == 2) && ($answer2 == “T”) && ($password == “lettuce”)) {
[/php]
inside that box were a head of lettuce and a wedding ring.

try another one.
[php]
}
elseif (($answer1 == 0) && ($answer2 == “M”) && ($password == “sun”)) {
if ($_SESSION[‘sunbeams’] !== 1) {
echo “

inside that box were a bunch of sunbeams, which immediately escaped. somebody was going to be upset.

“;
$_SESSION[‘sunbeams’] = 1;
}
else echo “

this box was empty.

“;
[/php]

try another one.
[php]
}
elseif (($answer1 == 0) && ($answer2 == “F”) && ($password == “sun”)) {
[/php]
inside that box was a bunch of dirt.

try another one.
[php]
}
elseif (($answer1 == 0) && ($answer2 == “A”) && ($password == “money”)) {
if ($_SESSION[‘ducats’] !== 1) {
echo “

there were fifty ducats in that box. the guru slipped them into your robes.

“;
$_SESSION[‘ducats’] = 1;
}
else echo “

this box is empty.

“;
[/php]

try another one.
[php]
}
else echo ‘

that box would not open. either it was not in use or the password was incorrect.

try another one.

‘;
[/php]

your bodhi: 126 ·  main  ·  archives  ·  help!  ·  #zen