inst-resources/randompass.php
author Dan Fuhry <dan@enanocms.org>
Sat, 21 Aug 2010 18:20:18 -0400
changeset 11 b62383876fdb
parent 0 67e1cc6cd929
permissions -rw-r--r--
Merged from accidental split

<?php
$chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
for ( $i = 0; $i < 8; $i++ )
  echo $chars{ rand(0, strlen($chars)-1) };