<html>
<body bgcolor="#fad888">
<form method="post">
<center>
Enter the password<br />
<input type="password" name="pass" value="<? echo "$_POST[pass]"?>" />
<input type="submit" /><br />
<?
if ( isset($_POST[pass]) )
{
$output = ( $_POST[pass] == "iggy" ) ? "<font color=\"green\">Correct password!</font>" "<font color=\"red\">Wrong password. Go away!</font>";
echo 
"$output";
}
?>
</center>
</form>
</body></html>