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
  • Select an option

  • Save Theaxiom/2035913 to your computer and use it in GitHub Desktop.

Select an option

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