thinkoholic.com - a blog by markus nolf
[posted: Tuesday, 09.08.2005] [category: technology]

memo to self: this is how you create an encrypted password for the .htpasswd file through a php-script:

    $password = "yourpasswd";
    $encrypted = crypt($password,substr($password,0,2));
    echo "$password >> $encrypted";

write a comment

allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


all photos | alle photos