May 28
<?
define("VERSION", 2);
echo "Current version is " . VERSION;
?>
define("VERSION", 2);
echo "Current version is " . VERSION;
?>
if ($PHP_AUTH_PW!=$PASSWORD || $PHP_AUTH_USER!=$USERNAME){
header('WWW-Authenticate: Basic realm="secure content"');
header('HTTP/1.0 401 Unauthorized');
echo "Unauthorized";
exit;
}
?>
case "2":
$caption = "Caption 2";
$content = "Content 2";
break;
default:
$caption = "Default caption";
$content = "Default content";
}
?>
Recent Comments