Wie bringe ich es zusammen das die Werte aus dem Formular im PHP übernommen wird.
Code:
<FORM ACTION= "pass2.php"" Methode="post">
USER:<BR>
<input TYPE ="text" Name= "$name">
<BR>
Passwort:<BR>
<Input type="password" Name="$pass">
<BR>
<input Type="reset" Value="zurück">
<input Type="submit" Value="abschicken">
</FORM>
<?
if($pass=="cool" and $name == "nice"){header("Location: http://www.gmx.at");} else{echo"error";}
?>