|
Hellow..
Im trying to get this snippet of code to work
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>base64 cryptering</title> </head> <body bgcolor="white">
<?
if ($bruger && $pw) {
$krypteret = crypt("$pw",base64_encode("$pw")); echo "<br><br><b>Username:</b> $bruger"; echo "<br><b> password:</b> $krypteret<br><br>\n"; echo "I din \"httpasswd\"-fil skriver du s�dan: "; echo "<b>$bruger:$krypteret</b><br><br>\n"; echo "<b>Krypt�r nyt:</b><br><br>"; } echo "<form action=""
method=\"post\">";
echo "Brugernavn: <input name=\"bruger\" value=\"$bruger\"><br>\n"; echo "Password: <input name=\"pw\" value=\"$pw\"><br><br>\n"; echo "<input type=\"submit\" value=\"Krypt�r\">\n"; echo "</form>"; ?> </body>
</html>
It is woring... but sambar dosent seems to
recoqunise the password in a htaccess.fil
------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/ |
- [sambar] Htaccess code Niels Poulsen
- [sambar] Htaccess code Peter
