OK. non si vede nulla perchè non avevo chiuso il tag </title>
PERO' perchè ottengo sempre e solo la scritta KO ??????

<html>
<head>
<title>titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<form name="miaform" method="POST" action="j.php">

user: <input type="text" name="text1">
password: <input type="text" name="text2">
<input type="button" name="submit" value="submit">

</form>


<?php
if (isset($_POST['submit'])) {
echo "OK";
}
else {
echo "KO";
}
?>
</body>
</html>