ran_pass()

PHP

Public Domain

randomly generates a password using md5() and the current time

Download (right click, save as, rename as appropriate)

Embed

1
2
3
4
5
<?php
	function ran_pass($length = 12) { 
		return substr(md5(microtime()),0, $length);
	}
?>