cambia cosi
<?
$name = "password";
?>
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv=Content-Type content="html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="">
<input type="text" name="textfield1" value="<? echo"$name";?>">
</p>
<input type="text" name="textfield2">
</p>
<input type="text" name="textfield3">
</p>
</form>
</body>
</html>

Rispondi quotando