\n";
echo "
\n";
if ($_SERVER['REQUEST_METHOD'] == 'POST')
echo "
The specified password is invalid! Try again.
\n";
else
echo "
This page is password protected.
\n";
echo "
\n";
echo "
\n\n\n";
exit;
}
$password = '';
if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['form_name']) && $_POST['form_name'] == 'loginform')
{
$password = isset($_POST['password']) ? $_POST['password'] : '';
if ($password == '40 Days')
{
$_SESSION['password'] = $password;
}
}
else
{
$password = isset($_SESSION['password']) ? $_SESSION['password'] : '';
}
if ($password != '40 Days')
{
echo "\n";
echo "\n";
echo "\n";
echo "\n";
echo "
\n";
if ($_SERVER['REQUEST_METHOD'] == 'POST')
echo "
The specified password is invalid! Please try again.
\n";
else
echo "
This page is password protected.
\n";
echo "
\n";
echo "
\n\n\n";
exit;
}
?>