submit to reddit

I’ve recently messed up a script installation and the admin user and password did not import successfully into the database. I have inserted the admin user manually, but I had no idea what the password looked like using md5 encoding. So I wrote a simple script creating an encoded password, and I imported the resulting value into the database. Pretty simple. The script is the following:

<?php
$a = md5('password');
echo $a;
?>

It will print an alphanumeric encoded string which can be inserted in any database table.

What is MD5? (Wikipedia)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>