<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK REL="StyleSheet" HREF="stile/style.css" TYPE="text/css">
<script language="JavaScript" >
function chechlg(cc) {
if(cc.value.match(/[\<\>]/) {
alert("caratteri non consentiti");
cc.focus();
return false;
} else return true;
}
</script>
</head>
<body>
...
<form method="post" action="controlla.php" name="">
<input name="login" type="text" id="login" onchange="return chechlg(this);">
...
<input type="submit" name="invia" value="invia">
...
</form>
...
nei ... ci sono solamente i tag per la struttura della tabella che contiene il form

Rispondi quotando