randomly generates a password using md5() and the current time
Download (right click, save as, rename as appropriate)
1 2 3 4 5
<?php function ran_pass($length = 12) { return substr(md5(microtime()),0, $length); } ?>