faccio così ma mi da errore...
Codice PHP:
<?php
rand();
$random1 = rand(0, hexdec("ffffff"));
$random2 = rand(0, hexdec("ffffff"));
echo "<form action=\"login.php\" method=\"get\">";
echo "Nick:";
echo "
";
echo "<input type=\"text\" name=\"uid\" size=\"8\" maxlength=\"15\" style=\"background-color: #$random1\" />";
echo "
";
echo "Password:";
echo "
";
echo "<input type=\"password\" name=\"pwd\" size=\"8\" maxlength=\"15\" style=\"background-color: #$random2\" />";
?> echo "
";
echo "<input type=\"hidden\" name=\"svw\" value=\"$svw\"/>";
echo "<input type=\"submit\" value=\"login\"/>";
echo "</form>";
echo "
";