questa è tutta la pagina

codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
</head>
<body>
<?php
$headers= array ("index.html","accesso.php");
$email=$_POST['email'];
$pw=$_POST['pw'];
include 'collegamento_db.php';
$query=mysql_query("SELECT pw FROM utenti WHERE email='".$email."'");
$num=mysql_num_rows($query);
mysql_close();
if ($num==0){
   header( "Location: http://xxx/1.php" ); 
}else{
   header( "Location: http://xxx/index.html" );
}
?>
</body>
</html>