<?

header
('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 31 Oct 2005 00:00:00 GMT');


$names = array('erik''matthijs''niek''rob');


if (isset(
$_GET['name'])) {
  if (empty(
$_GET['name'])) {
    
?>
    Please enter a name!
    <?
  
} else if (in_array($_GET['name'], $names)) { // This check should be replaced with a check in your database.
    
?>
    Name is already in use!
    <?
  
}
}

if (isset(
$_GET['show'])) {
  
highlight_file('./validate.php');
}

?>