You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
240 B
PHTML
19 lines
240 B
PHTML
19 years ago
|
<?php
|
||
|
|
||
|
|
||
|
function PassCrypt($passwort) {
|
||
|
include "./inc/config.php";
|
||
|
|
||
|
switch ($crypt_system) {
|
||
|
case "crypt":
|
||
|
return "{crypt}".crypt($passwort, "77");
|
||
|
case "md5":
|
||
|
return md5($passwort);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
?>
|