|
Home
Black&White
Fotogramme
Infrarot
Kategorien
Lightbox
Lochkamera
Portrait
Advanced
___________
Service:
EDV-Manuals Belichtungszeitentabelle
Schrauben u. Gewinde
Einführung in die:
Beurteilung v. Negativen
Farbmischung
Filmentwicklung
Infrarotfotografie
Blitzlichtfotographie
Entwicklungszeiten:
Agfa Rodinal
Kodak D76
Tiefenschärferechner:
Komplex
Einfach
Fotolabor
Kontakt / Impressum
______
Zähler:
Bilder pro Gast
Zugriffszähler
myPHPadmin
B4YCounter
Login
Logout
Files
Alle Bilder als Link
|
PHP-Script um das Paßwort für eine .htpasswd Datei zu verschlüsseln.
|
Bildcounter auf Coppermine erste
|
Folgendes PHP-Script einfach als *.php Datei abspeichern und im Webspace
ausführen:
<html>
<head>
<title>[ENCRYPTION]</title>
<meta http-equiv=content-type content=text/html; charset=utf-8>
</head>
<?php
if(!empty($_POST['pw']) && !empty($_POST['name']))
{
echo"
<form method=post action=".$_SERVER['PHP_SELF'].">
<table cellpadding=0 cellspacing=0>
<tr>
<td bgcolor=#ffcc66 style='font-size:36px'>
".$_POST['name'].":
</td>
<td bgcolor=#ffcc66 style='font-size:36px'>
".crypt($_POST['pw'])."
</td>
</tr>
</table>
</form>
</body>
</html>
";
}
else
{
echo"
<form method=post action=".$_SERVER['PHP_SELF'].">
<table cellpadding=0 cellspacing=0>
<tr>
<td>
<input name=name value=Login>
</td>
</tr>
<tr>
<td>
<input name=pw value=Password>
</td>
</tr>
<tr>
<td>
<input type=submit value=encrypt>
</td>
</tr>
</table>
</form>
</body>
</html>
";
}
?> |
© 05.09.2009 J. Schilling
|
| |