codice:<form method="post" action="?id=controlla"> <p align="center"> <input type="password" name="passwd" style="border-style:solid; border-width:1; font-family: Verdana; font-size: 8 pt" size="18"> <input type="submit" name="Submit" value="Accedi" style="border-style:solid; border-width:1; font-family: Verdana; font-size: 8 pt" size="20"></p> </p> </form> </font>[/b]</td> </tr> </table> </center> </div> <?php } if($id == "controlla"){ if ($passwd==$passwordz){ print("<script>document.location='prova.htm'</script>"); }else{ echo "Ciao"; } } echo "</body></html>"; ?>

Rispondi quotando