Skip to content

Instantly share code, notes, and snippets.

@Theaxiom
Forked from bendo01/php password generator
Created March 14, 2012 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Theaxiom/2035913 to your computer and use it in GitHub Desktop.
Save Theaxiom/2035913 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