Skip to content

Instantly share code, notes, and snippets.

@autoferrit
Forked from bendo01/php password generator
Created March 13, 2012 20:16
Show Gist options
  • Save autoferrit/2031281 to your computer and use it in GitHub Desktop.
Save autoferrit/2031281 to your computer and use it in GitHub Desktop.
php password generator
<?php
substr( str_shuffle( 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$' ) , 0 , 10 );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment