wo muss ich md5 eintragen, damit das passwort verschlüßelt wird?
thx
Registrierung
<table width="400" border="0" cellpadding="2" cellspacing="0">
<form method="post" action="send.php">
<tr>
<td>ID-Nummer(*):</td>
<td> <div align="left">
<input name="identnr" type="text">
</div></td>
</tr>
<tr>
<td>Firma:</td>
<td> <div align="left">
<input name="firma" type="text">
</div></td>
</tr>
<tr>
<td> Vorname(*):<div align="left">
<td> <div align="left">
<input name="vname" type="text">
</div></td>
</tr>
<tr>
<td> Name(*)<div align="left">
<td> <div align="left">
<input name="nname" type="text">
</div></td>
</tr>
<tr>
<td>Passwort(*):</td>
<td align="right"> <div align="left">
<input name="pwd" type="password">
</div></td>
</tr>
<tr>
<td>Passwort bestätigen(*):</td>
<td align="right"> <div align="left">
<input name="pwd_w" type="password">
</div></td>
</tr>
<tr>
<td>Strasse(*):</td>
<td> <div align="left">
<input name="strasse" type="text">
</div></td>
</tr>
<tr>
<td>Hausnummer(*):</td>
<td> <div align="left">
<input name="hausnr" type="text">
</div></td>
</tr>
<tr>
<td>Postleitzahl(*):</td>
<td align="right"> <div align="left">
<input name="plz" type="text">
</div></td>
</tr>
<tr>
<td>Wohnort(*):</td>
<td align="right"> <div align="left">
<input name="ort" type="text">
</div></td>
</tr>
<tr>
<td>Land(*):</td>
<td align="right"> <div align="left">
<input name="land" type="text">
</div></td>
</tr>
<tr>
<td>Telefon(*):</td>
<td align="right"> <div align="left">
<input name="telefon" type="text">
</div></td>
</tr>
<tr>
<td>Handy:</td>
<td align="right"> <div align="left">
<input name="handy" type="text">
</div></td>
</tr>
<tr>
<td>Fax:</td>
<td align="right"> <div align="left">
<input name="fax" type="text">
</div></td>
</tr>
<tr>
<td>Email(*):</td>
<td align="right"> <div align="left">
<input name="email" type="text">
</div></td>
</tr>
<tr>
<td>Email bestätigen(*):</td>
<td align="right"> <div align="left">
<input name="email" type="text">
</div></td>
</tr>
</table>
<br>
<table width="400" border="0" cellpadding="0" cellspacing="0" bgcolor="#3F71A0">
</table>
<br>
<input type="submit" name="submit" value="Abschicken">
</p>
</form>
</body>
</html>
<?
mysql_connect ("xxxx", "xxxx", "xxxx");
mysql_select_db ("xxxxx") OR die("Verbindung zur Datenbank fehlgeschlagen");
$sql="INSERT INTO xxxx (identnr, pwd, firma, vname, nname, strasse, hausnr, plz, ort, land, telefon, handy, fax, email) VALUES ('".$identnr."','".$pwd."','".$firma."','".$vname."','".$nname."','".$strasse."','".$hausnr."','".$p lz."','".$ort."','".$land."','".$telefon."','".$handy."','".$fax."','".$email."')";
if(!$sql=mysql_query($sql)) {
echo mysql_error();
} else {
echo "Ihre Registrierungsdaten wurden per mail zugesandt.";
include 'formmail.php';
}
?>
thx
Registrierung
<table width="400" border="0" cellpadding="2" cellspacing="0">
<form method="post" action="send.php">
<tr>
<td>ID-Nummer(*):</td>
<td> <div align="left">
<input name="identnr" type="text">
</div></td>
</tr>
<tr>
<td>Firma:</td>
<td> <div align="left">
<input name="firma" type="text">
</div></td>
</tr>
<tr>
<td> Vorname(*):<div align="left">
<td> <div align="left">
<input name="vname" type="text">
</div></td>
</tr>
<tr>
<td> Name(*)<div align="left">
<td> <div align="left">
<input name="nname" type="text">
</div></td>
</tr>
<tr>
<td>Passwort(*):</td>
<td align="right"> <div align="left">
<input name="pwd" type="password">
</div></td>
</tr>
<tr>
<td>Passwort bestätigen(*):</td>
<td align="right"> <div align="left">
<input name="pwd_w" type="password">
</div></td>
</tr>
<tr>
<td>Strasse(*):</td>
<td> <div align="left">
<input name="strasse" type="text">
</div></td>
</tr>
<tr>
<td>Hausnummer(*):</td>
<td> <div align="left">
<input name="hausnr" type="text">
</div></td>
</tr>
<tr>
<td>Postleitzahl(*):</td>
<td align="right"> <div align="left">
<input name="plz" type="text">
</div></td>
</tr>
<tr>
<td>Wohnort(*):</td>
<td align="right"> <div align="left">
<input name="ort" type="text">
</div></td>
</tr>
<tr>
<td>Land(*):</td>
<td align="right"> <div align="left">
<input name="land" type="text">
</div></td>
</tr>
<tr>
<td>Telefon(*):</td>
<td align="right"> <div align="left">
<input name="telefon" type="text">
</div></td>
</tr>
<tr>
<td>Handy:</td>
<td align="right"> <div align="left">
<input name="handy" type="text">
</div></td>
</tr>
<tr>
<td>Fax:</td>
<td align="right"> <div align="left">
<input name="fax" type="text">
</div></td>
</tr>
<tr>
<td>Email(*):</td>
<td align="right"> <div align="left">
<input name="email" type="text">
</div></td>
</tr>
<tr>
<td>Email bestätigen(*):</td>
<td align="right"> <div align="left">
<input name="email" type="text">
</div></td>
</tr>
</table>
<br>
<table width="400" border="0" cellpadding="0" cellspacing="0" bgcolor="#3F71A0">
</table>
<br>
<input type="submit" name="submit" value="Abschicken">
</p>
</form>
</body>
</html>
<?
mysql_connect ("xxxx", "xxxx", "xxxx");
mysql_select_db ("xxxxx") OR die("Verbindung zur Datenbank fehlgeschlagen");
$sql="INSERT INTO xxxx (identnr, pwd, firma, vname, nname, strasse, hausnr, plz, ort, land, telefon, handy, fax, email) VALUES ('".$identnr."','".$pwd."','".$firma."','".$vname."','".$nname."','".$strasse."','".$hausnr."','".$p lz."','".$ort."','".$land."','".$telefon."','".$handy."','".$fax."','".$email."')";
if(!$sql=mysql_query($sql)) {
echo mysql_error();
} else {
echo "Ihre Registrierungsdaten wurden per mail zugesandt.";
include 'formmail.php';
}
?>
Kommentar