inst-resources/randompass.php
author Neal Gompa <neal@enanocms.org>
Fri, 18 Dec 2009 20:36:15 -0600
changeset 9 100ba25b6dba
parent 0 67e1cc6cd929
permissions -rw-r--r--
Adding uninstall commands for shortcuts, we don't want unnecessary stuff floating around after the uninstallation...

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